diff options
author | Florin Coras <fcoras@cisco.com> | 2019-01-04 17:05:43 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-07 16:37:55 +0000 |
commit | 7baeb71f92826ee6ef02ab2c3d16484bb64d9301 (patch) | |
tree | d6c39a6276c6e067e4df24ecd0531417c1250b05 /src/vcl/vcl_private.h | |
parent | 8dc146e00098f1c5846d44a3ca5f8db6fbfaff0f (diff) |
vcl/ldp: add locked sessions shim layer
Moves LDP logic that allows sharing of sessions between multi-process
app workers into a separate VCL shim layer. Also refactors LDP to use
the new layer.
Change-Id: I8198b51eae7d099a8c486e36b29e3a0cb8cee8e9
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 2ae4b72f6a4..0315a620f86 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -125,6 +125,8 @@ enum VCL_SESS_ATTR_TCP_NODELAY, // SOL_TCP,TCP_NODELAY VCL_SESS_ATTR_TCP_KEEPIDLE, // SOL_TCP,TCP_KEEPIDLE VCL_SESS_ATTR_TCP_KEEPINTVL, // SOL_TCP,TCP_KEEPINTVL + VCL_SESS_ATTR_SHUT_RD, + VCL_SESS_ATTR_SHUT_WR, VCL_SESS_ATTR_MAX } vppcom_session_attr_t; @@ -583,6 +585,7 @@ u32 vcl_max_nsid_len (void); u8 *format_api_error (u8 * s, va_list * args); +void vls_init (); #endif /* SRC_VCL_VCL_PRIVATE_H_ */ /* |