35 #ifndef TOTEM_H_DEFINED 36 #define TOTEM_H_DEFINED 42 #ifdef HAVE_SMALL_MEMORY_FOOTPRINT 43 #define PROCESSOR_COUNT_MAX 16 44 #define MESSAGE_SIZE_MAX 1024*64 45 #define MESSAGE_QUEUE_MAX 512 47 #define PROCESSOR_COUNT_MAX 384 48 #define MESSAGE_SIZE_MAX 1024*1024 49 #define MESSAGE_QUEUE_MAX ((4 * MESSAGE_SIZE_MAX) / totem_config->net_mtu) 52 #define FRAME_SIZE_MAX KNET_MAX_PACKET_SIZE 61 #define UDP_RECEIVE_FRAME_SIZE_MAX (PROCESSOR_COUNT_MAX * (INTERFACE_MAX * 2 * sizeof(struct totem_ip_address)) + 1024) 63 #define TRANSMITS_ALLOWED 16 64 #define SEND_THREADS_MAX 16 67 #define INTERFACE_MAX 8 69 #define BIND_MAX_RETRIES 10 70 #define BIND_RETRIES_INTERVAL 100 75 #define MAX_NO_CONT_GATHER 3 79 #define MAX_NO_CONT_SENDMSG_FAILURES 30 102 const char *function_name,
103 const char *file_name,
121 #define TOTEM_MH_MAGIC 0xC070 122 #define TOTEM_MH_VERSION 0x03 149 unsigned long long seq;
238 void (*totem_memb_ring_id_create_or_load) (
242 void (*totem_memb_ring_id_store) (
243 const struct memb_ring_id *memb_ring_id,
247 #define TOTEM_CONFIGURATION_TYPE 253 #define TOTEM_CALLBACK_TOKEN_TYPE unsigned int clear_node_high_bit
struct totem_interface * interfaces
The totem_ip_address struct.
totem_transport_t transport_number
unsigned int token_hold_timeout
struct totem_ip_address member_list[PROCESSOR_COUNT_MAX]
uint32_t knet_compression_threshold
totem_configuration_type
The totem_configuration_type enum.
unsigned int knet_pmtud_interval
unsigned int downcheck_timeout
unsigned int private_key_len
unsigned int max_network_delay
#define log_printf(level, format, args...)
unsigned int heartbeat_failures_allowed
unsigned int send_join_timeout
void(*) in log_level_security)
unsigned int block_unlisted_ips
unsigned int token_retransmits_before_loss_const
char * knet_compression_model
unsigned int seqno_unchanged_const
unsigned int miss_count_const
unsigned int join_timeout
struct totem_ip_address mcast_addr
unsigned int fail_to_recv_const
struct totem_ip_address boundto
#define PROCESSOR_COUNT_MAX
int knet_compression_level
unsigned int token_timeout
unsigned int consensus_timeout
unsigned int token_warning
unsigned int broadcast_use
struct totem_interface * orig_interfaces
unsigned int max_messages
char * crypto_cipher_type
unsigned int merge_timeout
unsigned int token_retransmit_timeout
struct totem_ip_address bindnet
totem_callback_token_type
The totem_callback_token_type enum.