35 #ifndef TOTEM_H_DEFINED
36 #define TOTEM_H_DEFINED
40 #ifdef HAVE_SMALL_MEMORY_FOOTPRINT
41 #define PROCESSOR_COUNT_MAX 16
42 #define MESSAGE_SIZE_MAX 1024*64
43 #define MESSAGE_QUEUE_MAX 512
45 #define PROCESSOR_COUNT_MAX 384
46 #define MESSAGE_SIZE_MAX 1024*1024
47 #define MESSAGE_QUEUE_MAX ((4 * MESSAGE_SIZE_MAX) / totem_config->net_mtu)
50 #define FRAME_SIZE_MAX 10000
51 #define TRANSMITS_ALLOWED 16
52 #define SEND_THREADS_MAX 16
53 #define INTERFACE_MAX 2
55 #define BIND_MAX_RETRIES 10
56 #define BIND_RETRIES_INTERVAL 100
61 #define MAX_NO_CONT_GATHER 3
65 #define MAX_NO_CONT_SENDMSG_FAILURES 30
81 const char *function_name,
82 const char *file_name,
108 unsigned long long seq;
203 const struct memb_ring_id *memb_ring_id,
207 #define TOTEM_CONFIGURATION_TYPE
213 #define TOTEM_CALLBACK_TOKEN_TYPE
280 #define TOTEM_TOKEN_STATS_MAX 100
286 #define TOTEM_CONFIGURATION_TYPE
unsigned int clear_node_high_bit
uint64_t memb_commit_token_rx
struct totem_interface * interfaces
unsigned int interface_count
The totem_ip_address struct.
totem_transport_t transport_number
unsigned int token_hold_timeout
struct totem_ip_address member_list[PROCESSOR_COUNT_MAX]
totem_configuration_type
The totem_configuration_type enum.
unsigned char private_key[TOTEM_PRIVATE_KEY_LEN]
char rrp_mode[TOTEM_RRP_MODE_BYTES]
uint64_t memb_merge_detect_rx
unsigned char addr[TOTEMIP_ADDRLEN]
unsigned int rrp_problem_count_timeout
uint64_t gather_token_lost
unsigned int downcheck_timeout
unsigned int private_key_len
uint64_t memb_commit_token_tx
unsigned int max_network_delay
unsigned int heartbeat_failures_allowed
#define TOTEM_TOKEN_STATS_MAX
unsigned int send_join_timeout
unsigned int rrp_problem_count_threshold
uint64_t operational_entered
void(*) in log_level_security)
unsigned int block_unlisted_ips
uint64_t operational_token_lost
uint64_t consensus_timeouts
uint64_t recovery_token_lost
unsigned int token_retransmits_before_loss_const
unsigned int seqno_unchanged_const
uint64_t commit_token_lost
unsigned int miss_count_const
uint64_t token_hold_cancel_rx
unsigned int join_timeout
struct totem_ip_address mcast_addr
struct totem_config __attribute__
unsigned int rrp_autorecovery_check_timeout
unsigned int fail_to_recv_const
struct totem_ip_address boundto
#define PROCESSOR_COUNT_MAX
void(* log_printf)(int level, int subsys, const char *function_name, const char *file_name, int file_line, const char *format,...) __attribute__((format(printf
uint32_t continuous_gather
uint64_t token_hold_cancel_tx
void(* totem_memb_ring_id_create_or_load)(struct memb_ring_id *memb_ring_id, const struct totem_ip_address *addr)
unsigned int token_timeout
unsigned int consensus_timeout
unsigned int broadcast_use
uint64_t memb_merge_detect_tx
unsigned int rrp_problem_count_mcast_threshold
unsigned int cancel_token_hold_on_retransmit
unsigned int max_messages
uint64_t recovery_entered
char * crypto_cipher_type
unsigned int merge_timeout
unsigned int token_retransmit_timeout
struct totem_ip_address bindnet
uint32_t continuous_sendmsg_failures
unsigned int rrp_token_expired_timeout
void(* totem_memb_ring_id_store)(const struct memb_ring_id *memb_ring_id, const struct totem_ip_address *addr)
totem_callback_token_type
The totem_callback_token_type enum.