corosync 3.1.9
|
Totem Single Ring Protocol. More...
Go to the source code of this file.
Data Structures | |
struct | totempg_group |
Macros | |
#define | TOTEMPG_AGREED 0 |
#define | TOTEMPG_SAFE 1 |
Typedefs | |
typedef void(* | totem_queue_level_changed_fn) (enum totem_q_level level) |
Enumerations | |
enum | totem_q_level { TOTEM_Q_LEVEL_LOW , TOTEM_Q_LEVEL_GOOD , TOTEM_Q_LEVEL_HIGH , TOTEM_Q_LEVEL_CRITICAL } |
typedef void(* totem_queue_level_changed_fn) (enum totem_q_level level) |
|
extern |
Definition at line 1099 of file totempg.c.
References nodeid, totemsrp_callback_token_create(), and type.
Definition at line 1118 of file totempg.c.
References nodeid, and totemsrp_callback_token_destroy().
Definition at line 1294 of file totempg.c.
References nodeid.
Referenced by corosync_recheck_the_q_level().
|
extern |
Definition at line 1571 of file totempg.c.
References nodeid, totempg_totem_config, and totemsrp_crypto_reconfigure_phase().
Definition at line 1489 of file totempg.c.
References nodeid, and totemsrp_crypto_set().
void totempg_event_signal | ( | enum totem_event_type | type, |
int | value | ||
) |
Definition at line 1479 of file totempg.c.
References totemsrp_event_signal(), type, and value.
Definition at line 855 of file totempg.c.
References nodeid, and totemsrp_finalize().
Referenced by main().
Definition at line 1596 of file totempg.c.
References totemsrp_force_gather().
|
extern |
Definition at line 1602 of file totempg.c.
References INTERFACE_MAX, totem_config::interfaces, nodeid, and totempg_totem_config.
|
extern |
Initialize a groups instance.
Definition at line 1134 of file totempg.c.
References totempg_group_instance::confchg_fn, totempg_group_instance::deliver_fn, totempg_group_instance::groups, totempg_group_instance::groups_cnt, totempg_group_instance::list, nodeid, and totempg_group_instance::q_level.
Referenced by main(), and sync_init().
|
extern |
Definition at line 1182 of file totempg.c.
References totempg_group_instance::groups, totempg_group_instance::groups_cnt, and nodeid.
Referenced by main(), and sync_init().
Definition at line 1346 of file totempg.c.
References nodeid.
Referenced by corosync_sending_allowed_release().
|
extern |
Definition at line 1302 of file totempg.c.
References totempg_group::group_len, totempg_group_instance::groups, totempg_group_instance::groups_cnt, and nodeid.
Referenced by corosync_sending_allowed().
|
extern |
Definition at line 1360 of file totempg.c.
References totempg_group::group_len, guarantee, MAX_GROUPS_PER_MSG, MAX_IOVECS_FROM_APP, and nodeid.
|
extern |
Definition at line 1232 of file totempg.c.
References totempg_group::group, totempg_group::group_len, totempg_group_instance::groups, totempg_group_instance::groups_cnt, guarantee, MAX_GROUPS_PER_MSG, MAX_IOVECS_FROM_APP, and nodeid.
Referenced by main_mcast().
|
extern |
Definition at line 1404 of file totempg.c.
References totempg_group::group_len, and nodeid.
|
extern |
Definition at line 1434 of file totempg.c.
References nodeid, and totemsrp_iface_set().
|
extern |
Definition at line 1457 of file totempg.c.
References nodeid, and totemsrp_ifaces_get().
Referenced by totempg_ifaces_print().
Definition at line 1501 of file totempg.c.
References family, INTERFACE_MAX, nodeid, ONE_IFACE_LEN, totemip_print(), and totempg_ifaces_get().
|
extern |
Initialize the totem process groups abstraction.
Definition at line 802 of file totempg.c.
References callback_token_received_handle, totem_logging_configuration::log_level_debug, totem_logging_configuration::log_level_error, totem_logging_configuration::log_level_notice, totem_logging_configuration::log_level_security, totem_logging_configuration::log_level_warning, totem_logging_configuration::log_printf, totem_logging_configuration::log_subsys_id, totem_config::net_mtu, nodeid, TOTEM_CALLBACK_TOKEN_RECEIVED, totem_config::totem_logging_configuration, TOTEMPG_PACKET_SIZE, totempg_totem_config, totemsrp_avail(), totemsrp_callback_token_create(), totemsrp_initialize(), and totemsrp_net_mtu_adjust().
Referenced by main().
|
extern |
Definition at line 1552 of file totempg.c.
References nodeid, and totemsrp_member_add().
|
extern |
Definition at line 1559 of file totempg.c.
References nodeid, and totemsrp_member_remove().
Definition at line 1537 of file totempg.c.
References totemsrp_my_family_get().
Definition at line 1532 of file totempg.c.
References totemsrp_my_nodeid_get().
Referenced by message_source_is_local(), and message_source_set().
|
extern |
Definition at line 1450 of file totempg.c.
References nodeid, and totemsrp_nodestatus_get().
|
extern |
Definition at line 1612 of file totempg.c.
References INTERFACE_MAX, totem_config::interfaces, nodeid, and totempg_totem_config.
|
extern |
Definition at line 1566 of file totempg.c.
References totempg_totem_config, and totemsrp_reconfigure().
Referenced by totemconfig_commit_new_params().
Definition at line 1541 of file totempg.c.
References nodeid, and totemsrp_service_ready_register().
Referenced by main().
Definition at line 1585 of file totempg.c.
References totemsrp_threaded_mode_enable().
Definition at line 1591 of file totempg.c.
References totemsrp_trans_ack().