35 #ifndef TOTEMUDPU_H_DEFINED 36 #define TOTEMUDPU_H_DEFINED 38 #include <sys/types.h> 39 #include <sys/socket.h> 40 #include <qb/qbloop.h> 48 qb_loop_t *poll_handle,
58 unsigned int msg_len),
60 void (*iface_change_fn) (
64 void (*target_set_completed) (
78 unsigned int msg_len);
83 unsigned int msg_len);
88 unsigned int msg_len);
112 const char *cipher_type,
113 const char *hash_type);
void totemudpu_buffer_release(void *ptr)
int totemudpu_processor_count_set(void *udpu_context, int processor_count)
const char * totemudpu_iface_print(void *udpu_context)
void(*) void udpu_context)
int totemudpu_iface_check(void *udpu_context)
int totemudpu_send_flush(void *udpu_context)
unsigned char addr[TOTEMIP_ADDRLEN]
int totemudpu_member_remove(void *udpu_context, const struct totem_ip_address *member)
int totemudpu_token_send(void *udpu_context, const void *msg, unsigned int msg_len)
void * totemudpu_buffer_alloc(void)
struct totem_ip_address token_target
int totemudpu_token_target_set(void *udpu_context, const struct totem_ip_address *token_target)
int totemudpu_member_set_active(void *udpu_context, const struct totem_ip_address *member_ip, int active)
int totemudpu_mcast_noflush_send(void *udpu_context, const void *msg, unsigned int msg_len)
int totemudpu_initialize(qb_loop_t *poll_handle, void **udpu_context, struct totem_config *totem_config, totemsrp_stats_t *stats, int interface_no, void *context, void(*deliver_fn)(void *context, const void *msg, unsigned int msg_len), void(*iface_change_fn)(void *context, const struct totem_ip_address *iface_address), void(*target_set_completed)(void *context))
Create an instance.
void totemudpu_net_mtu_adjust(void *udpu_context, struct totem_config *totem_config)
int totemudpu_finalize(void *udpu_context)
int totemudpu_mcast_flush_send(void *udpu_context, const void *msg, unsigned int msg_len)
int totemudpu_member_add(void *udpu_context, const struct totem_ip_address *member)
int totemudpu_recv_flush(void *udpu_context)
int totemudpu_recv_mcast_empty(void *udpu_context)
int totemudpu_iface_get(void *udpu_context, struct totem_ip_address *addr)
int totemudpu_crypto_set(void *udpu_context, const char *cipher_type, const char *hash_type)