#include "totemip.h"
#include <libknet.h>
#include <corosync/hdb.h>
#include <corosync/totem/totemstats.h>
Go to the source code of this file.
|
| enum | { TOTEM_PRIVATE_KEY_LEN_MIN = KNET_MIN_KEY_LEN,
TOTEM_PRIVATE_KEY_LEN_MAX = KNET_MAX_KEY_LEN
} |
| |
| enum | { TOTEM_LINK_MODE_BYTES = 64
} |
| |
| enum | totem_transport_t { TOTEM_TRANSPORT_UDP = 0,
TOTEM_TRANSPORT_UDPU = 1,
TOTEM_TRANSPORT_KNET = 2
} |
| |
| enum | cfg_message_crypto_reconfig_phase_t { CRYPTO_RECONFIG_PHASE_ACTIVATE = 1,
CRYPTO_RECONFIG_PHASE_CLEANUP = 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
} |
| |
| #define BIND_MAX_RETRIES 10 |
| #define BIND_RETRIES_INTERVAL 100 |
| #define CONFIG_STRING_LEN_MAX 128 |
| #define FRAME_SIZE_MAX KNET_MAX_PACKET_SIZE |
| #define MAX_NO_CONT_GATHER 3 |
Maximum number of continuous gather states.
Definition at line 76 of file totem.h.
| #define MAX_NO_CONT_SENDMSG_FAILURES 30 |
| #define MESSAGE_SIZE_MAX 1024*1024 /* (1MB) */ |
| #define PROCESSOR_COUNT_MAX 384 |
| #define SEND_THREADS_MAX 16 |
| #define TOTEM_CALLBACK_TOKEN_TYPE |
| #define TOTEM_CONFIGURATION_TYPE |
| #define TOTEM_MH_MAGIC 0xC070 |
| #define TOTEM_MH_VERSION 0x03 |
| #define TOTEM_NODE_STATUS_STRUCTURE_VERSION 1 |
| #define TRANSMITS_ALLOWED 16 |
| Enumerator |
|---|
| TOTEM_PRIVATE_KEY_LEN_MIN |
|
| TOTEM_PRIVATE_KEY_LEN_MAX |
|
Definition at line 135 of file totem.h.
| Enumerator |
|---|
| TOTEM_LINK_MODE_BYTES |
|
Definition at line 140 of file totem.h.
| Enumerator |
|---|
| CRYPTO_RECONFIG_PHASE_ACTIVATE |
|
| CRYPTO_RECONFIG_PHASE_CLEANUP |
|
Definition at line 154 of file totem.h.
| Enumerator |
|---|
| TOTEM_CALLBACK_TOKEN_RECEIVED |
|
| TOTEM_CALLBACK_TOKEN_SENT |
|
| TOTEM_CALLBACK_TOKEN_RECEIVED |
|
| TOTEM_CALLBACK_TOKEN_SENT |
|
Definition at line 285 of file totem.h.
| Enumerator |
|---|
| TOTEM_CONFIGURATION_REGULAR |
|
| TOTEM_CONFIGURATION_TRANSITIONAL |
|
| TOTEM_CONFIGURATION_REGULAR |
|
| TOTEM_CONFIGURATION_TRANSITIONAL |
|
Definition at line 279 of file totem.h.
| Enumerator |
|---|
| TOTEM_EVENT_DELIVERY_CONGESTED |
|
| TOTEM_EVENT_NEW_MSG |
|
Definition at line 290 of file totem.h.
| Enumerator |
|---|
| TOTEM_TRANSPORT_UDP |
|
| TOTEM_TRANSPORT_UDPU |
|
| TOTEM_TRANSPORT_KNET |
|
Definition at line 142 of file totem.h.
| struct qb_ipc_request_header header __attribute__ |
| unsigned int target_nodeid |