diff options
author | Yalei Wang <william.wangyalei@huawei.com> | 2018-10-31 16:11:18 +0800 |
---|---|---|
committer | Yalei Wang <william.wangyalei@huawei.com> | 2018-10-31 16:11:18 +0800 |
commit | 99d29d2c8c0bf497844e5bd326e2fd524fcbf118 (patch) | |
tree | 534e54051297b8b6e4f7fe8f26d4d0e42fb5e06e /stacks/rsocket | |
parent | dbc4c0c8284eddb91e5294ba00e0b43c8faab930 (diff) |
Feat: make rsocket support module_init_child
Change-Id: I446a808678417d359b84870f93ad57cbb4e7074f
Signed-off-by: Yalei Wang <william.wangyalei@huawei.com>
Diffstat (limited to 'stacks/rsocket')
-rw-r--r-- | stacks/rsocket/CMakeLists.txt | 2 | ||||
-rw-r--r-- | stacks/rsocket/src/rsocket_adpt.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/stacks/rsocket/CMakeLists.txt b/stacks/rsocket/CMakeLists.txt index c1b2f18..6ba868b 100644 --- a/stacks/rsocket/CMakeLists.txt +++ b/stacks/rsocket/CMakeLists.txt @@ -17,7 +17,7 @@ SET(rdmacm_dir librdmacm-1.1.0) SET(dmm_inc_dir ${DMM_REL_INC_DIR}) -SET(RSOCKET_DEBUG 0) +SET(RSOCKET_DEBUG 1) ######################## diff --git a/stacks/rsocket/src/rsocket_adpt.c b/stacks/rsocket/src/rsocket_adpt.c index ea22c76..2839909 100644 --- a/stacks/rsocket/src/rsocket_adpt.c +++ b/stacks/rsocket/src/rsocket_adpt.c @@ -235,6 +235,7 @@ rsocket_stack_register (nstack_proc_cb * proc_fun, proc_fun->extern_ops.module_init = rsocket_init; proc_fun->extern_ops.ep_ctl = rsocket_ep_ctl; proc_fun->extern_ops.ep_getevt = NULL; + proc_fun->extern_ops.module_init_child = rsocket_init; g_rr_var.type = event_ops->type; g_rr_var.event_cb = event_ops->event_cb; |