diff options
author | Florin Coras <fcoras@cisco.com> | 2023-02-06 13:30:13 -0800 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2023-02-27 20:58:09 +0000 |
commit | 32881935bb82b009528ba5a930b4399bad26abfd (patch) | |
tree | 750a2b44e4057eb7fffb88997d3ce49e46976b2a /src/vcl/vcl_private.h | |
parent | 40cba405c5c06a3dc086a55143cb3ffd1094597e (diff) |
vcl: improve vls handling of shared listeners
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I1970408de52e53d24cea06b3ae0cc68a38cbc97a
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 93e76565ee7..a3ae42714d5 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -142,6 +142,7 @@ typedef enum vcl_session_flags_ VCL_SESSION_F_WR_SHUTDOWN = 1 << 5, VCL_SESSION_F_PENDING_DISCONNECT = 1 << 6, VCL_SESSION_F_PENDING_FREE = 1 << 7, + VCL_SESSION_F_PENDING_LISTEN = 1 << 8, } __clib_packed vcl_session_flags_t; typedef struct vcl_session_ @@ -726,6 +727,7 @@ int vcl_segment_attach (u64 segment_handle, char *name, ssvm_segment_type_t type, int fd); void vcl_segment_detach (u64 segment_handle); void vcl_segment_detach_segments (u32 *seg_indices); +void vcl_send_session_listen (vcl_worker_t *wrk, vcl_session_t *s); void vcl_send_session_unlisten (vcl_worker_t * wrk, vcl_session_t * s); int vcl_segment_attach_session (uword segment_handle, uword rxf_offset, |