34 #ifndef TOTEMIBA_H_DEFINED
35 #define TOTEMIBA_H_DEFINED
37 #include <sys/types.h>
38 #include <sys/socket.h>
40 #include <qb/qbloop.h>
48 qb_loop_t* qb_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);
int totemiba_crypto_set(void *iba_context, const char *cipher_type, const char *hash_type)
int totemiba_iface_check(void *iba_context)
int totemiba_iface_get(void *iba_context, struct totem_ip_address *addr)
int totemiba_finalize(void *iba_context)
int totemiba_processor_count_set(void *iba_context, int processor_count)
The totem_ip_address struct.
void totemiba_net_mtu_adjust(void *iba_context, struct totem_config *totem_config)
unsigned char addr[TOTEMIP_ADDRLEN]
int totemiba_recv_flush(void *iba_context)
int totemiba_recv_mcast_empty(void *iba_context)
const char * totemiba_iface_print(void *iba_context)
void * totemiba_buffer_alloc(void)
int totemiba_mcast_flush_send(void *iba_context, const void *msg, unsigned int msg_len)
void totemiba_buffer_release(void *ptr)
int totemiba_token_target_set(void *iba_context, const struct totem_ip_address *token_target)
int totemiba_token_send(void *iba_context, const void *msg, unsigned int msg_len)
int totemiba_initialize(qb_loop_t *qb_poll_handle, void **iba_handle, 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.
int totemiba_send_flush(void *iba_context)
int totemiba_mcast_noflush_send(void *iba_context, const void *msg, unsigned int msg_len)