|
corosync
|
#include <sys/types.h>#include <sys/socket.h>#include <qb/qbloop.h>#include <corosync/totem/totem.h>

Go to the source code of this file.
Definition at line 1402 of file totemknet.c.
References nodeid.
Definition at line 1408 of file totemknet.c.
References nodeid.
Definition at line 884 of file totemknet.c.
References global_instance, totemknet_instance::knet_handle, log_printf, logsys_config_debug_get(), LOGSYS_DEBUG_OFF, LOGSYS_DEBUG_ON, LOGSYS_DEBUG_TRACE, LOGSYS_LEVEL_DEBUG, LOGSYS_LEVEL_ERROR, and nodeid.
Referenced by totemknet_initialize().
|
extern |
Definition at line 1800 of file totemknet.c.
References totem_config::crypto_index, CRYPTO_RECONFIG_PHASE_ACTIVATE, CRYPTO_RECONFIG_PHASE_CLEANUP, totemknet_instance::knet_context, totemknet_instance::knet_handle, knet_log_printf, LOGSYS_LEVEL_DEBUG, LOGSYS_LEVEL_ERROR, and nodeid.
|
extern |
Definition at line 388 of file totemknet.c.
Definition at line 658 of file totemknet.c.
References CS_PRI_NODE_ID, totemknet_instance::knet_context, totemknet_instance::knet_fd, totemknet_instance::knet_handle, knet_log_printf, totemknet_instance::log_mutex, totemknet_instance::logpipes, LOGSYS_LEVEL_CRIT, LOGSYS_LEVEL_ERROR, nodeid, and totemknet_instance::poll_handle.
Definition at line 1469 of file totemknet.c.
References totemknet_instance::knet_context, knet_log_printf, and nodeid.
|
extern |
Definition at line 1538 of file totemknet.c.
References totemknet_instance::ip_port, totemknet_instance::knet_context, knet_log_printf, totemknet_instance::my_ids, nodeid, totemip_copy(), and totemip_print().
Definition at line 563 of file totemknet.c.
References CFG_INTERFACE_STATUS_MAX_LEN, totem_interface::configured, INTERFACE_MAX, totem_config::interfaces, totemknet_instance::knet_context, totemknet_instance::knet_handle, knet_log_printf, totemknet_instance::link_status, LOGSYS_LEVEL_ERROR, nodeid, totemknet_instance::our_nodeid, OWN_INDEX_NONE, and totemknet_instance::totem_config.
|
extern |
Create an instance.
|
extern |
Definition at line 1442 of file totemknet.c.
References totemknet_instance::knet_context, and nodeid.
|
extern |
Definition at line 1455 of file totemknet.c.
References totemknet_instance::knet_context, and nodeid.
|
extern |
Definition at line 1555 of file totemknet.c.
References CS_PRI_NODE_ID, icmap_set_string(), totem_config::interfaces, totemknet_instance::ip_port, totemknet_instance::knet_context, totemknet_instance::knet_handle, totem_interface::knet_link_priority, knet_log_printf, KNET_LOGSYS_PERROR, totem_interface::knet_ping_interval, totem_interface::knet_ping_precision, totem_interface::knet_ping_timeout, totem_interface::knet_pong_count, totem_interface::knet_transport, totemknet_instance::link_mode, LOGSYS_LEVEL_DEBUG, LOGSYS_LEVEL_ERROR, totemknet_instance::loopback_link, nodeid, totem_ip_address::nodeid, totemknet_instance::our_nodeid, stats_knet_add_member(), totemknet_instance::totem_config, totemip_print(), and totemip_totemip_to_sockaddr_convert().
|
extern |
Definition at line 1694 of file totemknet.c.
References CS_PRI_NODE_ID, totemknet_instance::knet_context, totemknet_instance::knet_handle, knet_log_printf, KNET_LOGSYS_PERROR, LOGSYS_LEVEL_DEBUG, LOGSYS_LEVEL_ERROR, nodeid, totem_ip_address::nodeid, totemknet_instance::our_nodeid, stats_knet_del_member(), and totemknet_instance::token_target.
|
extern |
|
extern |
Definition at line 1479 of file totemknet.c.
References totemknet_instance::knet_context, knet_log_printf, totem_config::net_mtu, and nodeid.
|
extern |
Definition at line 485 of file totemknet.c.
References totem_interface::configured, CS_ERR_INVALID_PARAM, CS_ERR_NOT_EXIST, totem_config::interfaces, totemknet_instance::knet_context, totemknet_instance::knet_handle, knet_log_printf, LOGSYS_LEVEL_WARNING, nodeid, and totemknet_instance::totem_config.
Definition at line 1413 of file totemknet.c.
|
extern |
Definition at line 1767 of file totemknet.c.
References totem_config::crypto_changed, totem_config::crypto_cipher_type, totem_config::crypto_hash_type, totem_config::crypto_index, totem_config::crypto_model, icmap_set_string(), totemknet_instance::knet_context, knet_log_printf, and nodeid.
Definition at line 1420 of file totemknet.c.
Definition at line 1500 of file totemknet.c.
References totemknet_instance::iov_buffer, totemknet_instance::knet_context, totemknet_instance::knet_fd, MSG_NOSIGNAL, nodeid, and system_from.
Definition at line 1425 of file totemknet.c.
Definition at line 1859 of file totemknet.c.
References totemknet_instance::knet_context, totemknet_instance::knet_handle, and nodeid.
Definition at line 1430 of file totemknet.c.
References totemknet_instance::knet_context, nodeid, and totemknet_instance::token_target.
Definition at line 1486 of file totemknet.c.
References totemknet_instance::context, totemknet_instance::knet_context, nodeid, totem_ip_address::nodeid, totemknet_instance::token_target, and totemknet_instance::totemknet_target_set_completed.