X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvnet%2Fsession%2Fsession_table.h;h=6588a43aa14c3c7098795e3f1ad94fc2870db057;hb=1c7104514cd40d2377caca36cf40c13b791bc5aa;hp=ce0b4a2ff255a40d9ef44c507ab71cfe0802717d;hpb=cea194d8f973a2f2b5ef72d212533057174cc70a;p=vpp.git diff --git a/src/vnet/session/session_table.h b/src/vnet/session/session_table.h index ce0b4a2ff25..6588a43aa14 100644 --- a/src/vnet/session/session_table.h +++ b/src/vnet/session/session_table.h @@ -18,6 +18,7 @@ #include #include +#include typedef struct _session_lookup_table { @@ -32,11 +33,17 @@ typedef struct _session_lookup_table */ clib_bihash_16_8_t v4_half_open_hash; clib_bihash_48_8_t v6_half_open_hash; + + /** + * Per fib proto and transport proto session rules tables + */ + session_rules_table_t session_rules; } session_table_t; #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) typedef int (*ip4_session_table_walk_fn_t) (clib_bihash_kv_16_8_t * kvp, void *ctx);