summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-11 11:55:07 -0700
committerDamjan Marion <dmarion@me.com>2021-05-12 08:44:38 +0000
commit89a9f61dfcd76cdbfd7c731b823cb4a3a7e8d1cf (patch)
tree93e4020d8485bd0b65ddea4afb23d57fe817e112 /src/vnet/session/application_interface.h
parent106e24bd911110d372c7afe7518ce7b7e9288824 (diff)
session: return connect session handle to app
App transports not supported for now. Will have to be updated individually. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I75cb6c4e1c5af008af72858a9ee573016812abd4
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r--src/vnet/session/application_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h
index d3bfb3b03dd..14db42a0009 100644
--- a/src/vnet/session/application_interface.h
+++ b/src/vnet/session/application_interface.h
@@ -139,6 +139,9 @@ typedef struct _vnet_connect_args
u32 app_index;
u32 wrk_map_index;
u32 api_context;
+
+ /* Resulting session, or half-open session, if connect successful */
+ session_handle_t sh;
} vnet_connect_args_t;
typedef struct _vnet_shutdown_args_t