| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /****************************************************************************** |
|---|
| 2 | 3 | ******************************************************************************* |
|---|
| 3 | 4 | ** |
|---|
| 4 | 5 | ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
|---|
| 5 | 6 | ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. |
|---|
| 6 | 7 | ** |
|---|
| 7 | | -** This copyrighted material is made available to anyone wishing to use, |
|---|
| 8 | | -** modify, copy, or redistribute it subject to the terms and conditions |
|---|
| 9 | | -** of the GNU General Public License v.2. |
|---|
| 10 | 8 | ** |
|---|
| 11 | 9 | ******************************************************************************* |
|---|
| 12 | 10 | ******************************************************************************/ |
|---|
| 13 | 11 | |
|---|
| 14 | 12 | #ifndef __CONFIG_DOT_H__ |
|---|
| 15 | 13 | #define __CONFIG_DOT_H__ |
|---|
| 14 | + |
|---|
| 15 | +#define DEFAULT_BUFFER_SIZE 4096 |
|---|
| 16 | 16 | |
|---|
| 17 | 17 | struct dlm_config_node { |
|---|
| 18 | 18 | int nodeid; |
|---|
| .. | .. |
|---|
| 33 | 33 | int ci_log_debug; |
|---|
| 34 | 34 | int ci_log_info; |
|---|
| 35 | 35 | int ci_protocol; |
|---|
| 36 | + int ci_mark; |
|---|
| 36 | 37 | int ci_timewarn_cs; |
|---|
| 37 | 38 | int ci_waitwarn_us; |
|---|
| 38 | 39 | int ci_new_rsb_count; |
|---|
| .. | .. |
|---|
| 47 | 48 | int dlm_config_nodes(char *lsname, struct dlm_config_node **nodes_out, |
|---|
| 48 | 49 | int *count_out); |
|---|
| 49 | 50 | int dlm_comm_seq(int nodeid, uint32_t *seq); |
|---|
| 51 | +void dlm_comm_mark(int nodeid, unsigned int *mark); |
|---|
| 50 | 52 | int dlm_our_nodeid(void); |
|---|
| 51 | 53 | int dlm_our_addr(struct sockaddr_storage *addr, int num); |
|---|
| 52 | 54 | |
|---|