diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-07-28 14:09:50 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-10-05 19:13:13 +0000 |
commit | 7b3a3df263c7a5bf549f350553cbd9bce7ee40b3 (patch) | |
tree | 6c42695ee8e90c93bbe49c3cded4f35262322bc6 /src/vnet/session/session.api | |
parent | 5546e43f7943d6edff6c6587ed4e7233e8002e28 (diff) |
session: Add session_sapi_enable_disable
Type: feature
This adds an API message to do the switch
at runtime.
Change-Id: Ice6b69c57f0bfbf5668182e25593362ff4133615
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/session.api')
-rw-r--r-- | src/vnet/session/session.api | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api index 0eb773c0c28..d2a942fb68b 100644 --- a/src/vnet/session/session.api +++ b/src/vnet/session/session.api @@ -203,6 +203,18 @@ autoreply define session_enable_disable { bool is_enable [default=true]; }; +/** \brief enable/disable session layer socket api + @param client_index - opaque cookie to identify the sender + client to vpp direction only + @param context - sender context, to match reply w/ request + @param is_enable - disable session layer if 0, enable otherwise +*/ +autoreply define session_sapi_enable_disable { + u32 client_index; + u32 context; + bool is_enable [default=true]; +}; + /** \brief add/del application namespace @param client_index - opaque cookie to identify the sender client to vpp direction only |