corosync  2.3.2
Data Structures | Macros | Enumerations | Functions | Variables
totem.h File Reference
#include "totemip.h"
#include <corosync/hdb.h>
Include dependency graph for totem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  totem_interface
 
struct  totem_logging_configuration
 
struct  totem_config
 
struct  memb_ring_id
 
struct  totem_stats_header_t
 
struct  totemnet_stats_t
 
struct  totemrrp_stats_t
 
struct  totemsrp_token_stats_t
 
struct  totemsrp_stats_t
 
struct  totemmrp_stats_t
 
struct  totempg_stats_t
 

Macros

#define PROCESSOR_COUNT_MAX   384
 
#define MESSAGE_SIZE_MAX   1024*1024 /* (1MB) */
 
#define MESSAGE_QUEUE_MAX   ((4 * MESSAGE_SIZE_MAX) / totem_config->net_mtu)
 
#define FRAME_SIZE_MAX   10000
 
#define TRANSMITS_ALLOWED   16
 
#define SEND_THREADS_MAX   16
 
#define INTERFACE_MAX   2
 
#define MAX_NO_CONT_GATHER   3
 Maximum number of continuous gather states. More...
 
#define MAX_NO_CONT_SENDMSG_FAILURES   30
 
#define TOTEM_CONFIGURATION_TYPE
 
#define TOTEM_CALLBACK_TOKEN_TYPE
 
#define MEMB_RING_ID
 
#define TOTEM_TOKEN_STATS_MAX   100
 
#define TOTEM_CONFIGURATION_TYPE
 

Enumerations

enum  { TOTEM_PRIVATE_KEY_LEN = 128 }
 
enum  { TOTEM_RRP_MODE_BYTES = 64 }
 
enum  totem_transport_t { TOTEM_TRANSPORT_UDP = 0, TOTEM_TRANSPORT_UDPU = 1, TOTEM_TRANSPORT_RDMA = 2 }
 
enum  totem_configuration_type { TOTEM_CONFIGURATION_REGULAR, TOTEM_CONFIGURATION_TRANSITIONAL, TOTEM_CONFIGURATION_REGULAR, TOTEM_CONFIGURATION_TRANSITIONAL }
 
enum  totem_callback_token_type { TOTEM_CALLBACK_TOKEN_RECEIVED = 1, TOTEM_CALLBACK_TOKEN_SENT = 2, TOTEM_CALLBACK_TOKEN_RECEIVED = 1, TOTEM_CALLBACK_TOKEN_SENT = 2 }
 
enum  totem_event_type { TOTEM_EVENT_DELIVERY_CONGESTED, TOTEM_EVENT_NEW_MSG }
 

Functions

struct memb_ring_id __attribute__ ((packed))
 

Variables

typedef __attribute__
 
struct totem_ip_address rep
 
unsigned long long seq
 

Macro Definition Documentation

#define FRAME_SIZE_MAX   10000
#define INTERFACE_MAX   2

Definition at line 53 of file totem.h.

#define MAX_NO_CONT_GATHER   3

Maximum number of continuous gather states.

Definition at line 58 of file totem.h.

#define MAX_NO_CONT_SENDMSG_FAILURES   30

Definition at line 62 of file totem.h.

#define MEMB_RING_ID

Definition at line 203 of file totem.h.

#define MESSAGE_QUEUE_MAX   ((4 * MESSAGE_SIZE_MAX) / totem_config->net_mtu)

Definition at line 47 of file totem.h.

#define MESSAGE_SIZE_MAX   1024*1024 /* (1MB) */

Definition at line 46 of file totem.h.

#define PROCESSOR_COUNT_MAX   384

Definition at line 45 of file totem.h.

#define SEND_THREADS_MAX   16

Definition at line 52 of file totem.h.

#define TOTEM_CALLBACK_TOKEN_TYPE

Definition at line 192 of file totem.h.

#define TOTEM_CONFIGURATION_TYPE

Definition at line 271 of file totem.h.

#define TOTEM_CONFIGURATION_TYPE

Definition at line 271 of file totem.h.

#define TOTEM_TOKEN_STATS_MAX   100

Definition at line 265 of file totem.h.

#define TRANSMITS_ALLOWED   16

Definition at line 51 of file totem.h.

Enumeration Type Documentation

anonymous enum
Enumerator
TOTEM_PRIVATE_KEY_LEN 

Definition at line 93 of file totem.h.

anonymous enum
Enumerator
TOTEM_RRP_MODE_BYTES 

Definition at line 94 of file totem.h.

Enumerator
TOTEM_CALLBACK_TOKEN_RECEIVED 
TOTEM_CALLBACK_TOKEN_SENT 
TOTEM_CALLBACK_TOKEN_RECEIVED 
TOTEM_CALLBACK_TOKEN_SENT 

Definition at line 193 of file totem.h.

Enumerator
TOTEM_CONFIGURATION_REGULAR 
TOTEM_CONFIGURATION_TRANSITIONAL 
TOTEM_CONFIGURATION_REGULAR 
TOTEM_CONFIGURATION_TRANSITIONAL 

Definition at line 187 of file totem.h.

Enumerator
TOTEM_EVENT_DELIVERY_CONGESTED 
TOTEM_EVENT_NEW_MSG 

Definition at line 198 of file totem.h.

Enumerator
TOTEM_TRANSPORT_UDP 
TOTEM_TRANSPORT_UDPU 
TOTEM_TRANSPORT_RDMA 

Definition at line 96 of file totem.h.

Function Documentation

struct memb_ring_id __attribute__ ( (packed)  )

Variable Documentation

struct qb_ipc_request_header header __attribute__
struct totem_ip_address rep

Definition at line 50 of file totem.h.

unsigned long long seq

Definition at line 51 of file totem.h.