53 .
ml_name =
"M0_LEVEL_NET_DOMAIN",
64 .name =
"\"lnet\" m0_net_xprt_module",
68 .name =
"\"bulk-mem\" m0_net_xprt_module",
73 .name =
"\"sock\" m0_net_xprt_module",
78 [M0_NET_XPRT_LIBFABRIC] = {
79 .name =
"\"libfab\" m0_net_xprt_module",
100 m = &
net->n_xprts[
i].nx_module;
107 return &
net->n_module;
127 return m0_net__init();
struct m0_module n_module
static int level_net_enter(struct m0_module *module)
void m0_net_domain_fini(struct m0_net_domain *dom)
static struct m0_addb2_mach * m
static const struct m0_modlev levels_net[]
#define M0_FIELD_VALUE(type, field)
const struct m0_net_xprt m0_net_lnet_xprt
struct m0_net_domain nx_domain
#define container_of(ptr, type, member)
const struct m0_module_type m0_net_module_type
#define M0_AMB(obj, ptr, field)
static struct @401 net_xprt_mods[]
struct m0_module nx_module
static const struct m0_modlev levels_net_xprt[]
const struct m0_net_xprt m0_net_sock_xprt
M0_INTERNAL void m0_module_setup(struct m0_module *module, const char *name, const struct m0_modlev *level, int level_nr, struct m0 *instance)
static int level_net_xprt_enter(struct m0_module *module)
M0_INTERNAL void m0_module_dep_add(struct m0_module *m0, int l0, struct m0_module *m1, int l1)
int m0_net_domain_init(struct m0_net_domain *dom, const struct m0_net_xprt *xprt)
#define M0_ALLOC_PTR(ptr)
void * i_moddata[M0_MODULE_NR]
static void level_net_xprt_leave(struct m0_module *module)
M0_BASSERT(ARRAY_SIZE(net_xprt_mods)==ARRAY_SIZE(M0_FIELD_VALUE(struct m0_net_module, n_xprts)))
static struct m0 instance
static struct m0_addb2_net * net
struct m0_net_xprt * xprt
static struct m0_module * net_module_create(struct m0 *instance)
static void level_net_leave(struct m0_module *module)
const struct m0_net_xprt m0_net_bulk_mem_xprt