diff options
author | Florin Coras <fcoras@cisco.com> | 2020-10-19 18:36:48 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-10-20 16:12:43 +0000 |
commit | 6c3b2187229c3a685c073ae0909729ed4dffb66d (patch) | |
tree | 4e7ae7a741074af041668a00cb3ca64c8a7a7e5b /src/vcl/vcl_private.h | |
parent | 637c51fc40667dbfa968b225fff73b48e79b6df3 (diff) |
vcl: convert vep variables into flags
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ief017abc4879bc928746d9f5b9d2cfe04da89bd3
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 03dbbf51cc4..017da4e5088 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -147,6 +147,8 @@ do { \ typedef enum vcl_session_flags_ { VCL_SESSION_F_CONNECTED = 1 << 0, + VCL_SESSION_F_IS_VEP = 1 << 1, + VCL_SESSION_F_IS_VEP_SESSION = 1 << 2, } __clib_packed vcl_session_flags_t; typedef struct @@ -165,8 +167,6 @@ typedef struct svm_fifo_t *ct_tx_fifo; /* Socket configuration state */ - u8 is_vep; - u8 is_vep_session; vcl_session_flags_t flags; /* VCL session index of the listening session (if any) */ u32 listener_index; |