![]() |
FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
NAT44 hairpinning. More...
Include dependency graph for nat44_hairpinning.c:Go to the source code of this file.
Macros | |
| #define | foreach_nat44_hairpin_error _(PROCESSED, "NAT44 hairpinning packets processed") |
Variables | |
| static char * | nat44_hairpin_error_strings [] |
| vlib_node_registration_t | snat_hairpin_dst_node |
| (constructor) VLIB_REGISTER_NODE (snat_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_hairpinning_node |
| (constructor) VLIB_REGISTER_NODE (nat44_hairpinning_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 | nat44_ed_hairpin_src_node |
| (constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_src_node) More... | |
| vlib_node_registration_t | nat44_ed_hairpinning_node |
| (constructor) VLIB_REGISTER_NODE (nat44_ed_hairpinning_node) More... | |
| vnet_feature_arc_registration_t | vnet_feat_arc_ip4_local |
NAT44 hairpinning.
Definition in file nat44_hairpinning.c.
| #define foreach_nat44_hairpin_error _(PROCESSED, "NAT44 hairpinning packets processed") |
Definition at line 43 of file nat44_hairpinning.c.
| Enumerator | |
|---|---|
| NAT44_HAIRPIN_N_ERROR | |
Definition at line 46 of 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 36 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 27 of file nat44_hairpinning.c.
| static_always_inline int is_hairpinning | ( | snat_main_t * | sm, |
| ip4_address_t * | dst_addr | ||
| ) |
|
static |
|
static |
|
static |
| void nat44_ed_hairpinning_unknown_proto | ( | snat_main_t * | sm, |
| vlib_buffer_t * | b, | ||
| ip4_header_t * | ip | ||
| ) |
Definition at line 382 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
inlinestatic |
Definition at line 538 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void nat44_reass_hairpinning | ( | snat_main_t * | sm, |
| vlib_buffer_t * | b0, | ||
| ip4_header_t * | ip0, | ||
| u16 | sport, | ||
| u16 | dport, | ||
| u32 | proto0, | ||
| int | is_ed | ||
| ) |
Definition at line 427 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void nat_hairpinning_sm_unknown_proto | ( | snat_main_t * | sm, |
| vlib_buffer_t * | b, | ||
| ip4_header_t * | ip | ||
| ) |
Definition at line 357 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
inlinestatic |
Definition at line 661 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
inlinestatic |
Definition at line 800 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int snat_hairpinning | ( | 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 | ||
| ) |
Definition at line 96 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 203 of file nat44_hairpinning.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_NODE_FUNCTION_MULTIARCH | ( | nat44_hairpinning_node | , |
| nat44_hairpinning_fn | |||
| ) |
Here is the caller graph for this function:| VLIB_NODE_FUNCTION_MULTIARCH | ( | nat44_ed_hairpinning_node | , |
| nat44_ed_hairpinning_fn | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_hairpin_dst_node | , |
| snat_hairpin_dst_fn | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | nat44_ed_hairpin_dst_node | , |
| nat44_ed_hairpin_dst_fn | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_hairpin_src_node | , |
| snat_hairpin_src_fn | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | nat44_ed_hairpin_src_node | , |
| nat44_ed_hairpin_src_fn | |||
| ) |
| vlib_node_registration_t nat44_ed_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpin_dst_node)
Definition at line 63 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 64 of file nat44_hairpinning.c.
| vlib_node_registration_t nat44_ed_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_ed_hairpinning_node)
Definition at line 65 of file nat44_hairpinning.c.
|
static |
Definition at line 54 of file nat44_hairpinning.c.
| vlib_node_registration_t nat44_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_hairpinning_node)
Definition at line 62 of file nat44_hairpinning.c.
| vlib_node_registration_t snat_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_dst_node)
Definition at line 60 of file nat44_hairpinning.c.
| vlib_node_registration_t snat_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (snat_hairpin_src_node)
Definition at line 61 of file nat44_hairpinning.c.
| vnet_feature_arc_registration_t vnet_feat_arc_ip4_local |