Go to the source code of this file.
|
static u64 | calc_nat_key (ip4_address_t addr, u16 port, u32 fib_index, u8 proto) |
|
static void | split_nat_key (u64 key, ip4_address_t *addr, u16 *port, u32 *fib_index, nat_protocol_t *proto) |
|
static void | init_nat_k (clib_bihash_kv_8_8_t *kv, ip4_address_t addr, u16 port, u32 fib_index, nat_protocol_t proto) |
|
static void | init_nat_kv (clib_bihash_kv_8_8_t *kv, ip4_address_t addr, u16 port, u32 fib_index, nat_protocol_t proto, u32 thread_index, u32 session_index) |
|
static void | init_nat_i2o_k (clib_bihash_kv_8_8_t *kv, nat44_ei_session_t *s) |
|
static void | init_nat_i2o_kv (clib_bihash_kv_8_8_t *kv, nat44_ei_session_t *s, u32 thread_index, u32 session_index) |
|
static void | init_nat_o2i_k (clib_bihash_kv_8_8_t *kv, nat44_ei_session_t *s) |
|
static void | init_nat_o2i_kv (clib_bihash_kv_8_8_t *kv, nat44_ei_session_t *s, u32 thread_index, u32 session_index) |
|
static u32 | nat_value_get_thread_index (clib_bihash_kv_8_8_t *value) |
|
static u32 | nat_value_get_session_index (clib_bihash_kv_8_8_t *value) |
|
static u8 | nat44_ei_is_interface_addr (ip4_main_t *im, vlib_node_runtime_t *node, u32 sw_if_index0, u32 ip4_addr) |
|
static void | nat44_ei_session_update_lru (nat44_ei_main_t *nm, nat44_ei_session_t *s, u32 thread_index) |
| Per-user LRU list maintenance. More...
|
|
static void | nat44_ei_user_session_increment (nat44_ei_main_t *nm, nat44_ei_user_t *u, u8 is_static) |
|
static void | nat44_ei_delete_user_with_no_session (nat44_ei_main_t *nm, nat44_ei_user_t *u, u32 thread_index) |
|
static_always_inline u8 | nat44_ei_maximum_sessions_exceeded (nat44_ei_main_t *nm, u32 thread_index) |
|
static void | nat44_ei_session_update_counters (nat44_ei_session_t *s, f64 now, uword bytes, u32 thread_index) |
|
◆ calc_nat_key()
◆ init_nat_i2o_k()
◆ init_nat_i2o_kv()
◆ init_nat_k()
◆ init_nat_kv()
◆ init_nat_o2i_k()
◆ init_nat_o2i_kv()
◆ nat44_ei_delete_user_with_no_session()
static void nat44_ei_delete_user_with_no_session |
( |
nat44_ei_main_t * |
nm, |
|
|
nat44_ei_user_t * |
u, |
|
|
u32 |
thread_index |
|
) |
| |
|
inlinestatic |
◆ nat44_ei_is_interface_addr()
◆ nat44_ei_maximum_sessions_exceeded()
◆ nat44_ei_session_update_counters()
static void nat44_ei_session_update_counters |
( |
nat44_ei_session_t * |
s, |
|
|
f64 |
now, |
|
|
uword |
bytes, |
|
|
u32 |
thread_index |
|
) |
| |
|
inlinestatic |
◆ nat44_ei_session_update_lru()
static void nat44_ei_session_update_lru |
( |
nat44_ei_main_t * |
nm, |
|
|
nat44_ei_session_t * |
s, |
|
|
u32 |
thread_index |
|
) |
| |
|
inlinestatic |
◆ nat44_ei_user_session_increment()
static void nat44_ei_user_session_increment |
( |
nat44_ei_main_t * |
nm, |
|
|
nat44_ei_user_t * |
u, |
|
|
u8 |
is_static |
|
) |
| |
|
inlinestatic |
◆ nat_value_get_session_index()
◆ nat_value_get_thread_index()
◆ split_nat_key()