FD.io VPP
v21.01
Vector Packet Processing
|
NAT44 endpoint-dependent inside to outside network translation. More...
Go to the source code of this file.
Data Structures | |
struct | nat_in2out_ed_trace_t |
Macros | |
#define | ED_PORT_ALLOC_ATTEMPTS (10) |
Variables | |
static char * | nat_in2out_ed_error_strings [] |
vlib_node_registration_t | nat44_ed_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_node) More... | |
vlib_node_registration_t | nat44_ed_in2out_output_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_output_node) More... | |
vlib_node_registration_t | nat44_ed_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_slowpath_node) More... | |
vlib_node_registration_t | nat44_ed_in2out_output_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_output_slowpath_node) More... | |
vlib_main_t * | vm |
vlib_main_t vlib_node_runtime_t * | node |
vlib_main_t vlib_node_runtime_t vlib_frame_t * | frame |
vlib_node_registration_t | nat_pre_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_in2out_node) More... | |
vlib_node_registration_t | nat_pre_in2out_output_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_in2out_output_node) More... | |
NAT44 endpoint-dependent inside to outside network translation.
Definition in file in2out_ed.c.
#define ED_PORT_ALLOC_ATTEMPTS (10) |
Definition at line 39 of file in2out_ed.c.
Definition at line 56 of file in2out_ed.c.
Definition at line 1568 of file in2out_ed.c.
|
inlinestatic |
Definition at line 175 of file in2out_ed.c.
u32 icmp_match_in2out_ed | ( | snat_main_t * | sm, |
vlib_node_runtime_t * | node, | ||
u32 | thread_index, | ||
vlib_buffer_t * | b, | ||
ip4_header_t * | ip, | ||
ip4_address_t * | addr, | ||
u16 * | port, | ||
u32 * | fib_index, | ||
nat_protocol_t * | proto, | ||
void * | d, | ||
void * | e, | ||
u8 * | dont_translate | ||
) |
Definition at line 644 of file in2out_ed.c.
|
inlinestatic |
Definition at line 914 of file in2out_ed.c.
VLIB_NODE_FN() nat44_ed_in2out_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() nat44_ed_in2out_output_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() nat44_ed_in2out_output_slowpath_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 1200 of file in2out_ed.c.
VLIB_NODE_FN() nat44_ed_in2out_slowpath_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 759 of file in2out_ed.c.
static_always_inline int nat44_ed_not_translate | ( | snat_main_t * | sm, |
vlib_node_runtime_t * | node, | ||
u32 | sw_if_index, | ||
ip4_header_t * | ip, | ||
u32 | proto, | ||
u32 | rx_fib_index, | ||
u32 | thread_index | ||
) |
Definition at line 496 of file in2out_ed.c.
static_always_inline int nat44_ed_not_translate_output_feature | ( | snat_main_t * | sm, |
ip4_header_t * | ip, | ||
u16 | src_port, | ||
u16 | dst_port, | ||
u32 | thread_index, | ||
u32 | rx_sw_if_index, | ||
u32 | tx_sw_if_index, | ||
f64 | now | ||
) |
Definition at line 586 of file in2out_ed.c.
int nat44_i2o_ed_is_idle_session_cb | ( | clib_bihash_kv_16_8_t * | kv, |
void * | arg | ||
) |
Definition at line 75 of file in2out_ed.c.
|
static |
Definition at line 199 of file in2out_ed.c.
static_always_inline int nat_not_translate_output_feature_fwd | ( | snat_main_t * | sm, |
ip4_header_t * | ip, | ||
u32 | thread_index, | ||
f64 | now, | ||
vlib_main_t * | vm, | ||
vlib_buffer_t * | b | ||
) |
Definition at line 530 of file in2out_ed.c.
static_always_inline u32 nat_outside_fib_index_lookup | ( | snat_main_t * | sm, |
ip4_address_t | addr | ||
) |
Definition at line 292 of file in2out_ed.c.
|
static |
Definition at line 320 of file in2out_ed.c.
Definition at line 1579 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_node)
Definition at line 1494 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_output_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_output_node)
Definition at line 1514 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_output_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_output_slowpath_node)
Definition at line 1555 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_slowpath_node)
Definition at line 1534 of file in2out_ed.c.
|
static |
Definition at line 41 of file in2out_ed.c.
vlib_node_registration_t nat_pre_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_in2out_node)
Definition at line 1592 of file in2out_ed.c.
vlib_node_registration_t nat_pre_in2out_output_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_in2out_output_node)
Definition at line 1601 of file in2out_ed.c.
vlib_main_t vlib_node_runtime_t * node |
Definition at line 1578 of file in2out_ed.c.
vlib_main_t * vm |
Definition at line 1578 of file in2out_ed.c.