![]() |
FD.io VPP
v20.09-rc2-28-g3c5414029
Vector Packet Processing
|
NAT44 hairpinning. More...
Include dependency graph for nat44_hairpinning.c: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.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 400 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 447 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 373 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 565 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_NODE_FN() snat_hairpin_dst_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 698 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 228 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vlib_node_registration_t nat44_ed_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_dst_node)
Definition at line 684 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 804 of file nat44_hairpinning.c.
| vlib_node_registration_t nat44_ed_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpinning_node)
Definition at line 551 of file nat44_hairpinning.c.
| vlib_node_registration_t nat44_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_hairpinning_node)
Definition at line 530 of file nat44_hairpinning.c.
| vlib_node_registration_t snat_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_dst_node)
Definition at line 663 of file nat44_hairpinning.c.
| vlib_node_registration_t snat_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_src_node)
Definition at line 782 of file nat44_hairpinning.c.
| vnet_feature_arc_registration_t vnet_feat_arc_ip4_local |