corosync 3.1.9
|
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdint.h>
#include <qb/qblist.h>
Go to the source code of this file.
Data Structures | |
struct | totem_ip_address |
The totem_ip_address struct. More... | |
struct | totem_ip_if_address |
Macros | |
#define | totemip_nosigpipe(s) |
#define | TOTEMIP_ADDRLEN (sizeof(struct in6_addr)) |
#define | TOTEM_IP_ADDRESS |
Enumerations | |
enum | totem_ip_version_enum { TOTEM_IP_VERSION_4 , TOTEM_IP_VERSION_6 , TOTEM_IP_VERSION_4_6 , TOTEM_IP_VERSION_6_4 } |
Variables | |
unsigned int | nodeid |
unsigned short | family |
unsigned char | addr [TOTEMIP_ADDRLEN] |
enum totem_ip_version_enum | __attribute__ |
struct totem_ip_address __attribute__ | ( | (packed) | ) |
Definition at line 150 of file totemip.c.
References family, and nodeid.
Referenced by totemudp_member_remove(), and totemudpu_member_remove().
|
extern |
Definition at line 123 of file totemip.c.
References nodeid.
Referenced by main_iface_change_fn(), totemip_iface_check(), totemknet_iface_set(), totemknet_initialize(), totemsrp_iface_set(), totemsrp_initialize(), and totemudp_initialize().
|
extern |
Definition at line 72 of file totemip.c.
References nodeid.
Referenced by totemip_iface_check(), and totemip_localhost_check().
|
extern |
Definition at line 514 of file totemip.c.
References nodeid.
Referenced by totemip_getifaddrs(), and totemip_iface_check().
|
extern |
Definition at line 446 of file totemip.c.
References nodeid, totemip_freeifaddrs(), and totemip_sockaddr_to_totemip_convert().
Referenced by totemip_iface_check().
|
extern |
Definition at line 529 of file totemip.c.
References totem_ip_address::family, nodeid, totem_ip_address::nodeid, totemip_copy(), totemip_equal(), totemip_freeifaddrs(), and totemip_getifaddrs().
|
extern |
Definition at line 134 of file totemip.c.
References addr, totem_ip_address::addr, totem_ip_address::family, and nodeid.
Referenced by totem_config_validate().
int totemip_localhost | ( | int | family, |
struct totem_ip_address * | localhost | ||
) |
Definition at line 202 of file totemip.c.
References totem_ip_address::addr, family, totem_ip_address::family, LOCALHOST_IPV4, LOCALHOST_IPV6, nodeid, and totem_ip_address::nodeid.
Referenced by totemip_localhost_check(), and totemudp_initialize().
|
extern |
Definition at line 225 of file totemip.c.
References addr, totemip_equal(), and totemip_localhost().
|
extern |
Definition at line 306 of file totemip.c.
References addr, log_printf, LOGSYS_LEVEL_DEBUG, nodeid, TOTEM_IP_VERSION_4, TOTEM_IP_VERSION_4_6, TOTEM_IP_VERSION_6, TOTEM_IP_VERSION_6_4, and totemip_print().
Referenced by totem_config_read().
|
extern |
Definition at line 256 of file totemip.c.
Referenced by totem_config_read(), totem_volatile_config_validate(), totemip_parse(), totemknet_iface_set(), totemknet_member_add(), totempg_ifaces_print(), totemudp_nodestatus_get(), totemudpu_member_add(), totemudpu_member_remove(), and totemudpu_nodestatus_get().
|
extern |
Definition at line 420 of file totemip.c.
References totem_ip_address::addr, totem_ip_address::family, nodeid, and totem_ip_address::nodeid.
Referenced by totemip_getifaddrs().
|
extern |
Definition at line 264 of file totemip.c.
References totem_ip_address::addr, totem_ip_address::family, and nodeid.
Referenced by totemknet_member_add().
Definition at line 608 of file totemip.c.
References family, nodeid, TOTEMIP_IPV4_HEADER_SIZE, TOTEMIP_IPV6_HEADER_SIZE, and TOTEMIP_UDP_HEADER_SIZE.
Referenced by totemudp_net_mtu_adjust(), and totemudpu_net_mtu_adjust().
enum totem_ip_version_enum __attribute__ |
unsigned char addr[TOTEMIP_ADDRLEN] |