corosync  2.4.2-dirty
Data Fields
transport Struct Reference

Data Fields

const char * name
 
int(* initialize )(qb_loop_t *loop_pt, void **transport_instance, 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))
 
void *(* buffer_alloc )(void)
 
void(* buffer_release )(void *ptr)
 
int(* processor_count_set )(void *transport_context, int processor_count)
 
int(* token_send )(void *transport_context, const void *msg, unsigned int msg_len)
 
int(* mcast_flush_send )(void *transport_context, const void *msg, unsigned int msg_len)
 
int(* mcast_noflush_send )(void *transport_context, const void *msg, unsigned int msg_len)
 
int(* recv_flush )(void *transport_context)
 
int(* send_flush )(void *transport_context)
 
int(* iface_check )(void *transport_context)
 
int(* finalize )(void *transport_context)
 
void(* net_mtu_adjust )(void *transport_context, struct totem_config *totem_config)
 
const char *(* iface_print )(void *transport_context)
 
int(* iface_get )(void *transport_context, struct totem_ip_address *addr)
 
int(* token_target_set )(void *transport_context, const struct totem_ip_address *token_target)
 
int(* crypto_set )(void *transport_context, const char *cipher_type, const char *hash_type)
 
int(* recv_mcast_empty )(void *transport_context)
 
int(* member_add )(void *transport_context, const struct totem_ip_address *member)
 
int(* member_remove )(void *transport_context, const struct totem_ip_address *member)
 
int(* member_set_active )(void *transport_context, const struct totem_ip_address *member, int active)
 

Detailed Description

Definition at line 51 of file totemnet.c.

Field Documentation

void*(* transport::buffer_alloc)(void)

Definition at line 74 of file totemnet.c.

Referenced by totemnet_buffer_alloc().

void(* transport::buffer_release)(void *ptr)

Definition at line 76 of file totemnet.c.

Referenced by totemnet_buffer_release().

int(* transport::crypto_set)(void *transport_context, const char *cipher_type, const char *hash_type)

Definition at line 118 of file totemnet.c.

Referenced by totemnet_crypto_set().

int(* transport::finalize)(void *transport_context)

Definition at line 104 of file totemnet.c.

Referenced by totemnet_finalize().

int(* transport::iface_check)(void *transport_context)

Definition at line 102 of file totemnet.c.

Referenced by totemnet_iface_check().

int(* transport::iface_get)(void *transport_context, struct totem_ip_address *addr)

Definition at line 110 of file totemnet.c.

Referenced by totemnet_iface_get().

const char*(* transport::iface_print)(void *transport_context)

Definition at line 108 of file totemnet.c.

Referenced by totemnet_iface_print().

int(* transport::initialize)(qb_loop_t *loop_pt, void **transport_instance, 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))

Definition at line 54 of file totemnet.c.

Referenced by totemnet_initialize().

int(* transport::mcast_flush_send)(void *transport_context, const void *msg, unsigned int msg_len)

Definition at line 87 of file totemnet.c.

Referenced by totemnet_mcast_flush_send().

int(* transport::mcast_noflush_send)(void *transport_context, const void *msg, unsigned int msg_len)

Definition at line 93 of file totemnet.c.

Referenced by totemnet_mcast_noflush_send().

int(* transport::member_add)(void *transport_context, const struct totem_ip_address *member)

Definition at line 126 of file totemnet.c.

Referenced by totemnet_member_add().

int(* transport::member_remove)(void *transport_context, const struct totem_ip_address *member)

Definition at line 130 of file totemnet.c.

Referenced by totemnet_member_remove().

int(* transport::member_set_active)(void *transport_context, const struct totem_ip_address *member, int active)

Definition at line 134 of file totemnet.c.

Referenced by totemnet_member_set_active().

const char* transport::name

Definition at line 52 of file totemnet.c.

void(* transport::net_mtu_adjust)(void *transport_context, struct totem_config *totem_config)

Definition at line 106 of file totemnet.c.

Referenced by totemnet_net_mtu_adjust().

int(* transport::processor_count_set)(void *transport_context, int processor_count)

Definition at line 78 of file totemnet.c.

Referenced by totemnet_processor_count_set().

int(* transport::recv_flush)(void *transport_context)

Definition at line 98 of file totemnet.c.

Referenced by totemnet_recv_flush().

int(* transport::recv_mcast_empty)(void *transport_context)

Definition at line 123 of file totemnet.c.

Referenced by totemnet_recv_mcast_empty().

int(* transport::send_flush)(void *transport_context)

Definition at line 100 of file totemnet.c.

Referenced by totemnet_send_flush().

int(* transport::token_send)(void *transport_context, const void *msg, unsigned int msg_len)

Definition at line 82 of file totemnet.c.

Referenced by totemnet_token_send().

int(* transport::token_target_set)(void *transport_context, const struct totem_ip_address *token_target)

Definition at line 114 of file totemnet.c.

Referenced by totemnet_token_target_set().


The documentation for this struct was generated from the following file: