FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
NAT44 hairpinning. More...
Go to the source code of this file.
Data Structures | |
struct | nat_hairpin_trace_t |
Variables | |
vnet_feature_arc_registration_t | vnet_feat_arc_ip4_local |
vlib_node_registration_t | nat44_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_hairpinning_node) More... | |
vlib_node_registration_t | nat44_ed_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpinning_node) More... | |
vlib_node_registration_t | snat_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_dst_node) More... | |
vlib_node_registration_t | nat44_ed_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_dst_node) More... | |
vlib_node_registration_t | snat_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_src_node) More... | |
vlib_node_registration_t | nat44_ed_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_src_node) More... | |
NAT44 hairpinning.
Definition in file nat44_hairpinning.c.
enum nat_hairpin_next_t |
Enumerator | |
---|---|
NAT_HAIRPIN_NEXT_LOOKUP | |
NAT_HAIRPIN_NEXT_DROP | |
NAT_HAIRPIN_N_NEXT |
Definition at line 35 of file nat44_hairpinning.c.
Enumerator | |
---|---|
SNAT_HAIRPIN_SRC_NEXT_DROP | |
SNAT_HAIRPIN_SRC_NEXT_SNAT_IN2OUT | |
SNAT_HAIRPIN_SRC_NEXT_SNAT_IN2OUT_WH | |
SNAT_HAIRPIN_SRC_NEXT_INTERFACE_OUTPUT | |
SNAT_HAIRPIN_SRC_N_NEXT |
Definition at line 26 of file nat44_hairpinning.c.
static_always_inline int is_hairpinning | ( | snat_main_t * | sm, |
ip4_address_t * | dst_addr | ||
) |
Definition at line 75 of file nat44_hairpinning.c.
VLIB_NODE_FN() nat44_ed_hairpin_dst_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() nat44_ed_hairpin_src_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() nat44_ed_hairpinning_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
void nat44_ed_hairpinning_unknown_proto | ( | snat_main_t * | sm, |
vlib_buffer_t * | b, | ||
ip4_header_t * | ip | ||
) |
Definition at line 412 of file nat44_hairpinning.c.
|
inlinestatic |
Definition at line 459 of file nat44_hairpinning.c.
VLIB_NODE_FN() nat44_hairpinning_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
void nat_hairpinning_sm_unknown_proto | ( | snat_main_t * | sm, |
vlib_buffer_t * | b, | ||
ip4_header_t * | ip | ||
) |
Definition at line 385 of file nat44_hairpinning.c.
|
inlinestatic |
Definition at line 577 of file nat44_hairpinning.c.
VLIB_NODE_FN() snat_hairpin_dst_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 710 of file nat44_hairpinning.c.
VLIB_NODE_FN() snat_hairpin_src_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
int snat_hairpinning | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
snat_main_t * | sm, | ||
vlib_buffer_t * | b0, | ||
ip4_header_t * | ip0, | ||
udp_header_t * | udp0, | ||
tcp_header_t * | tcp0, | ||
u32 | proto0, | ||
int | is_ed, | ||
int | do_trace | ||
) |
Definition at line 97 of file nat44_hairpinning.c.
u32 snat_icmp_hairpinning | ( | snat_main_t * | sm, |
vlib_buffer_t * | b0, | ||
ip4_header_t * | ip0, | ||
icmp46_header_t * | icmp0, | ||
int | is_ed | ||
) |
Definition at line 240 of file nat44_hairpinning.c.
vlib_node_registration_t nat44_ed_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_dst_node)
Definition at line 696 of file nat44_hairpinning.c.
vlib_node_registration_t nat44_ed_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_src_node)
Definition at line 816 of file nat44_hairpinning.c.
vlib_node_registration_t nat44_ed_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpinning_node)
Definition at line 563 of file nat44_hairpinning.c.
vlib_node_registration_t nat44_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_hairpinning_node)
Definition at line 542 of file nat44_hairpinning.c.
vlib_node_registration_t snat_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_dst_node)
Definition at line 675 of file nat44_hairpinning.c.
vlib_node_registration_t snat_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_src_node)
Definition at line 794 of file nat44_hairpinning.c.
vnet_feature_arc_registration_t vnet_feat_arc_ip4_local |