FD.io VPP
v19.04.4-rc0-5-ge88582fac
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 | foreach_nat_in2out_ed_error |
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_node_registration_t | nat44_ed_in2out_reass_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_reass_node) More... | |
vlib_node_registration_t | nat44_ed_in2out_reass_output_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_reass_output_node) More... | |
NAT44 endpoint-dependent inside to outside network translation.
Definition in file in2out_ed.c.
#define foreach_nat_in2out_ed_error |
Definition at line 34 of file in2out_ed.c.
Enumerator | |
---|---|
NAT_IN2OUT_ED_N_ERROR |
Definition at line 53 of file in2out_ed.c.
enum nat_in2out_ed_next_t |
Enumerator | |
---|---|
NAT_IN2OUT_ED_NEXT_LOOKUP | |
NAT_IN2OUT_ED_NEXT_DROP | |
NAT_IN2OUT_ED_NEXT_ICMP_ERROR | |
NAT_IN2OUT_ED_NEXT_SLOW_PATH | |
NAT_IN2OUT_ED_NEXT_REASS | |
NAT_IN2OUT_ED_N_NEXT |
Definition at line 67 of file in2out_ed.c.
static_always_inline int icmp_get_ed_key | ( | ip4_header_t * | ip0, |
nat_ed_ses_key_t * | p_key0 | ||
) |
Definition at line 104 of file in2out_ed.c.
|
inlinestatic |
Definition at line 249 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, | ||
u8 * | p_proto, | ||
snat_session_key_t * | p_value, | ||
u8 * | p_dont_translate, | ||
void * | d, | ||
void * | e | ||
) |
Definition at line 600 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 | ||
) |
|
inlinestatic |
Definition at line 912 of file in2out_ed.c.
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 | ||
) |
VLIB_NODE_FN() nat44_ed_in2out_reass_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 1775 of file in2out_ed.c.
VLIB_NODE_FN() nat44_ed_in2out_reass_output_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
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 711 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 449 of file in2out_ed.c.
static_always_inline int nat44_ed_not_translate_output_feature | ( | snat_main_t * | sm, |
ip4_header_t * | ip, | ||
u8 | proto, | ||
u16 | src_port, | ||
u16 | dst_port, | ||
u32 | thread_index, | ||
u32 | rx_sw_if_index, | ||
u32 | tx_sw_if_index | ||
) |
Definition at line 545 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 154 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 484 of file in2out_ed.c.
|
static |
Definition at line 271 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_node)
Definition at line 1673 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 1700 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 1755 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_reass_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_reass_node)
Definition at line 2122 of file in2out_ed.c.
vlib_node_registration_t nat44_ed_in2out_reass_output_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_in2out_reass_output_node)
Definition at line 2148 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 1727 of file in2out_ed.c.
|
static |
Definition at line 61 of file in2out_ed.c.