diff options
-rw-r--r-- | src/vnet/session/session_table.h | 2 | ||||
-rw-r--r-- | src/vnet/session/session_types.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/session_table.h b/src/vnet/session/session_table.h index bf33d50dda6..4aaa900f0c9 100644 --- a/src/vnet/session/session_table.h +++ b/src/vnet/session/session_table.h @@ -55,8 +55,6 @@ typedef struct _session_lookup_table #define SESSION_TABLE_INVALID_INDEX ((u32)~0) #define SESSION_LOCAL_TABLE_PREFIX ((u32)~0) -#define SESSION_INVALID_INDEX ((u32)~0) -#define SESSION_INVALID_HANDLE ((u64)~0) #define SESSION_DROP_HANDLE (((u64)~0) - 1) typedef int (*ip4_session_table_walk_fn_t) (clib_bihash_kv_16_8_t * kvp, diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h index 21188bb0308..1c03aa25672 100644 --- a/src/vnet/session/session_types.h +++ b/src/vnet/session/session_types.h @@ -19,6 +19,9 @@ #include <svm/svm_fifo.h> #include <vnet/session/transport_types.h> +#define SESSION_INVALID_INDEX ((u32)~0) +#define SESSION_INVALID_HANDLE ((u64)~0) + #define foreach_session_endpoint_fields \ foreach_transport_endpoint_cfg_fields \ _(u8, transport_proto) \ |