18 #ifndef __included_ct6_h__ 19 #define __included_ct6_h__ 50 ct6_session_key_t
key;
93 f64 now,
u32 my_thread_index,
94 u32 * recyclep,
u32 * createp);
105 s0_index = s0 - cmp->
sessions[thread_index];
110 if (s0_index == cmp->
last_index[thread_index])
140 s0_index = s0 - cmp->
sessions[thread_index];
static void ct6_lru_remove(ct6_main_t *cmp, ct6_session_t *s0)
typedef CLIB_PACKED(struct { union { struct { ip6_address_t src;ip6_address_t dst;u16 sport;u16 dport;u8 proto;};u64 as_u64[6];};}) ct6_session_key_t
static void ct6_lru_add(ct6_main_t *cmp, ct6_session_t *s0, f64 now)
ct6_session_t ** sessions
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
vlib_node_registration_t ct6_out2in_node
(constructor) VLIB_REGISTER_NODE (ct6_out2in_node)
ethernet_main_t * ethernet_main
uword session_hash_memory
format_function_t format_ct6_session
ct6_session_t * ct6_create_or_recycle_session(ct6_main_t *cmp, clib_bihash_kv_48_8_t *kvpp, f64 now, u32 my_thread_index, u32 *recyclep, u32 *createp)
static void ct6_update_session_hit(ct6_main_t *cmp, ct6_session_t *s0, f64 now)
vlib_node_registration_t ct6_in2out_node
(constructor) VLIB_REGISTER_NODE (ct6_in2out_node)
struct _vlib_node_registration vlib_node_registration_t
clib_bihash_48_8_t session_hash
u32 max_sessions_per_worker
f64 session_timeout_interval
vl_api_fib_path_nh_proto_t proto