![]() |
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
NAT44 endpoint-dependent outside to inside network translation. More...
Go to the source code of this file.
Data Structures | |
struct | nat44_ed_out2in_trace_t |
Enumerations | |
enum | nat_slow_path_reason_e { NAT_ED_SP_REASON_NO_REASON, NAT_ED_SP_REASON_LOOKUP_FAILED, NAT_ED_SP_REASON_VRF_EXPIRED, NAT_ED_SP_TCP_CLOSED, NAT_ED_SP_SESS_EXPIRED } |
Variables | |
static char * | nat_out2in_ed_error_strings [] |
vlib_node_registration_t | nat44_ed_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_out2in_node) More... | |
vlib_node_registration_t | nat44_ed_out2in_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_out2in_slowpath_node) More... | |
vlib_node_registration_t | nat_pre_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_out2in_node) More... | |
NAT44 endpoint-dependent outside to inside network translation.
Definition in file nat44_ed_out2in.c.
Enumerator | |
---|---|
NAT_ED_SP_REASON_NO_REASON | |
NAT_ED_SP_REASON_LOOKUP_FAILED | |
NAT_ED_SP_REASON_VRF_EXPIRED | |
NAT_ED_SP_TCP_CLOSED | |
NAT_ED_SP_SESS_EXPIRED |
Definition at line 40 of file nat44_ed_out2in.c.
|
static |
Definition at line 604 of file nat44_ed_out2in.c.
|
static |
Definition at line 398 of file nat44_ed_out2in.c.
Definition at line 1436 of file nat44_ed_out2in.c.
|
inlinestatic |
Definition at line 150 of file nat44_ed_out2in.c.
static_always_inline int nat44_ed_alloc_outside_addr_and_port | ( | snat_address_t * | addresses, |
u32 | fib_index, | ||
u32 | thread_index, | ||
nat_protocol_t | proto, | ||
ip4_address_t * | addr, | ||
u16 * | port, | ||
u16 | port_per_thread, | ||
u32 | snat_thread_index | ||
) |
Definition at line 315 of file nat44_ed_out2in.c.
|
inlinestatic |
Definition at line 797 of file nat44_ed_out2in.c.
VLIB_NODE_FN() nat44_ed_out2in_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 1114 of file nat44_ed_out2in.c.
VLIB_NODE_FN() nat44_ed_out2in_slowpath_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 718 of file nat44_ed_out2in.c.
static_always_inline int nat_alloc_addr_and_port_exact | ( | snat_address_t * | a, |
u32 | thread_index, | ||
nat_protocol_t | proto, | ||
ip4_address_t * | addr, | ||
u16 * | port, | ||
u16 | port_per_thread, | ||
u32 | snat_thread_index | ||
) |
Definition at line 271 of file nat44_ed_out2in.c.
VLIB_NODE_FN() nat_pre_out2in_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 125 of file nat44_ed_out2in.c.
vlib_node_registration_t nat44_ed_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_out2in_node)
Definition at line 1403 of file nat44_ed_out2in.c.
vlib_node_registration_t nat44_ed_out2in_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_out2in_slowpath_node)
Definition at line 1423 of file nat44_ed_out2in.c.
|
static |
Definition at line 34 of file nat44_ed_out2in.c.
vlib_node_registration_t nat_pre_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat_pre_out2in_node)
Definition at line 1454 of file nat44_ed_out2in.c.