Motr
M0
|
#include <net.h>
Data Fields | |
uint64_t | nep_magix |
struct m0_ref | nep_ref |
struct m0_net_transfer_mc * | nep_tm |
struct m0_tlink | nep_tm_linkage |
const char * | nep_addr |
void * | nep_xprt_pvt |
This represents an addressable network end point. Memory for this data structure is managed by the network transport component and is associated with the transfer machine that created the structure.
Multiple entities may reference and use the data structure at the same time, so a reference count is maintained within it to determine when it is safe to release the structure.
Transports should embed this data structure in their private end point structures, and provide the release() method required to free them. The release() method, which is called with the transfer machine mutex locked, should remove the data structure from the transfer machine ntm_end_points list.
const char* nep_addr |
struct m0_net_transfer_mc* nep_tm |
struct m0_tlink nep_tm_linkage |
Linkage in the transfer machine list, m0_net_transfer_mc::ntm_end_points.
void* nep_xprt_pvt |