Motr
M0
|
#include <net.h>
Data Fields | |
const struct m0_net_tm_callbacks * | ntm_callbacks |
enum m0_net_tm_state | ntm_state |
struct m0_sm_group | ntm_group |
uint32_t | ntm_callback_counter |
struct m0_net_domain * | ntm_dom |
struct m0_tl | ntm_end_points |
struct m0_net_end_point * | ntm_ep |
struct m0_chan | ntm_chan |
struct m0_tl | ntm_q [M0_NET_QT_NR] |
struct m0_net_qstats | ntm_qstats [M0_NET_QT_NR] |
struct m0_list_link | ntm_dom_linkage |
void * | ntm_xprt_private |
bool | ntm_bev_auto_deliver |
struct m0_net_buffer_pool * | ntm_recv_pool |
const struct m0_net_buffer_callbacks * | ntm_recv_pool_callbacks |
uint32_t | ntm_recv_queue_min_length |
struct m0_atomic64 | ntm_recv_queue_deficit |
uint32_t | ntm_pool_colour |
m0_bcount_t | ntm_recv_queue_min_recv_size |
uint32_t | ntm_recv_queue_max_recv_msgs |
This data structure tracks message buffers and supports callbacks to notify the application of changes in state associated with these buffers.
bool ntm_bev_auto_deliver |
uint32_t ntm_callback_counter |
Callback activity is tracked by this counter. It is incremented by m0_net_tm_post_event() before invoking a callback, and decremented when it returns.
This counter is used to guarantee that a transfer machine is not finalised while callbacks for it are executing.
const struct m0_net_tm_callbacks* ntm_callbacks |
struct m0_chan ntm_chan |
struct m0_net_domain* ntm_dom |
struct m0_list_link ntm_dom_linkage |
Domain linkage (m0_net_domain::nd_tms).
struct m0_tl ntm_end_points |
List of m0_net_end_point structures. Managed by the transport.
struct m0_net_end_point* ntm_ep |
End point associated with this transfer machine.
Messages sent from this transfer machine appear to have originated from this end point.
It is created internally with the address provided in the call to m0_net_tm_start(). The field is set only upon successful start of the transfer machine. The field is cleared during fini.
struct m0_sm_group ntm_group |
uint32_t ntm_pool_colour |
struct m0_tl ntm_q[M0_NET_QT_NR] |
Lists of m0_net_buffer structures by queue type.
struct m0_net_qstats ntm_qstats[M0_NET_QT_NR] |
struct m0_net_buffer_pool* ntm_recv_pool |
const struct m0_net_buffer_callbacks* ntm_recv_pool_callbacks |
struct m0_atomic64 ntm_recv_queue_deficit |
uint32_t ntm_recv_queue_max_recv_msgs |
uint32_t ntm_recv_queue_min_length |
Minimum queue length for the receive queue when provisioning automatically. The default value is M0_NET_TM_RECV_QUEUE_DEF_LEN.
m0_bcount_t ntm_recv_queue_min_recv_size |
enum m0_net_tm_state ntm_state |