FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | nat44_ei_hairpin_trace_t |
Macros | |
#define | NAT44_EI_FLAG_HAIRPINNING (1 << 0) |
Functions | |
static u8 * | format_nat44_ei_hairpin_trace (u8 *s, va_list *args) |
static_always_inline int | nat44_ei_is_hairpinning (nat44_ei_main_t *nm, ip4_address_t *dst_addr) |
void | nat44_ei_hairpinning_sm_unknown_proto (nat44_ei_main_t *nm, vlib_buffer_t *b, ip4_header_t *ip) |
int | nat44_ei_hairpinning (vlib_main_t *vm, vlib_node_runtime_t *node, nat44_ei_main_t *nm, u32 thread_index, vlib_buffer_t *b0, ip4_header_t *ip0, udp_header_t *udp0, tcp_header_t *tcp0, u32 proto0, int do_trace, u32 *required_thread_index) |
u32 | nat44_ei_icmp_hairpinning (nat44_ei_main_t *nm, vlib_buffer_t *b0, u32 thread_index, ip4_header_t *ip0, icmp46_header_t *icmp0, u32 *required_thread_index) |
void | nat44_ei_hairpinning_unknown_proto (nat44_ei_main_t *nm, vlib_buffer_t *b, ip4_header_t *ip) |
while (n_left_from > 0) | |
#define NAT44_EI_FLAG_HAIRPINNING (1 << 0) |
Definition at line 26 of file nat44_ei_hairpinning.c.
Enumerator | |
---|---|
NAT44_EI_HAIRPIN_NEXT_LOOKUP | |
NAT44_EI_HAIRPIN_NEXT_DROP | |
NAT44_EI_HAIRPIN_NEXT_HANDOFF | |
NAT44_EI_HAIRPIN_N_NEXT |
Definition at line 37 of file nat44_ei_hairpinning.c.
Enumerator | |
---|---|
NAT44_EI_HAIRPIN_SRC_NEXT_DROP | |
NAT44_EI_HAIRPIN_SRC_NEXT_SNAT_IN2OUT | |
NAT44_EI_HAIRPIN_SRC_NEXT_SNAT_IN2OUT_WH | |
NAT44_EI_HAIRPIN_SRC_NEXT_INTERFACE_OUTPUT | |
NAT44_EI_HAIRPIN_SRC_N_NEXT |
Definition at line 28 of file nat44_ei_hairpinning.c.
Definition at line 54 of file nat44_ei_hairpinning.c.
int nat44_ei_hairpinning | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
nat44_ei_main_t * | nm, | ||
u32 | thread_index, | ||
vlib_buffer_t * | b0, | ||
ip4_header_t * | ip0, | ||
udp_header_t * | udp0, | ||
tcp_header_t * | tcp0, | ||
u32 | proto0, | ||
int | do_trace, | ||
u32 * | required_thread_index | ||
) |
Definition at line 124 of file nat44_ei_hairpinning.c.
void nat44_ei_hairpinning_sm_unknown_proto | ( | nat44_ei_main_t * | nm, |
vlib_buffer_t * | b, | ||
ip4_header_t * | ip | ||
) |
Definition at line 97 of file nat44_ei_hairpinning.c.
void nat44_ei_hairpinning_unknown_proto | ( | nat44_ei_main_t * | nm, |
vlib_buffer_t * | b, | ||
ip4_header_t * | ip | ||
) |
u32 nat44_ei_icmp_hairpinning | ( | nat44_ei_main_t * | nm, |
vlib_buffer_t * | b0, | ||
u32 | thread_index, | ||
ip4_header_t * | ip0, | ||
icmp46_header_t * | icmp0, | ||
u32 * | required_thread_index | ||
) |
Definition at line 251 of file nat44_ei_hairpinning.c.
static_always_inline int nat44_ei_is_hairpinning | ( | nat44_ei_main_t * | nm, |
ip4_address_t * | dst_addr | ||
) |
while | ( | n_left_from | , |
0 | |||
) |
Definition at line 419 of file nat44_ei_hairpinning.c.
u8 arc_index = vnet_feat_arc_ip4_local.feature_arc_index |
Definition at line 590 of file nat44_ei_hairpinning.c.
vnet_feature_config_main_t* cm = &fm->feature_config_mains[arc_index] |
Definition at line 591 of file nat44_ei_hairpinning.c.
vnet_feature_main_t* fm = &feature_main |
Definition at line 589 of file nat44_ei_hairpinning.c.
Definition at line 410 of file nat44_ei_hairpinning.c.
u32 * from = vlib_frame_vector_args (frame) |
Definition at line 415 of file nat44_ei_hairpinning.c.
Definition at line 416 of file nat44_ei_hairpinning.c.
return frame n_vectors |
Definition at line 485 of file nat44_ei_hairpinning.c.
vlib_node_registration_t nat44_ei_hairpin_dst_node |
(constructor) VLIB_REGISTER_NODE (nat44_ei_hairpin_dst_node)
Definition at line 724 of file nat44_ei_hairpinning.c.
vlib_node_registration_t nat44_ei_hairpin_src_node |
(constructor) VLIB_REGISTER_NODE (nat44_ei_hairpin_src_node)
Definition at line 711 of file nat44_ei_hairpinning.c.
vlib_node_registration_t nat44_ei_hairpinning_dst_handoff_node |
(constructor) VLIB_REGISTER_NODE (nat44_ei_hairpinning_dst_handoff_node)
Definition at line 683 of file nat44_ei_hairpinning.c.
vlib_node_registration_t nat44_ei_hairpinning_handoff_node |
(constructor) VLIB_REGISTER_NODE (nat44_ei_hairpinning_handoff_node)
Definition at line 697 of file nat44_ei_hairpinning.c.
vlib_node_registration_t nat44_ei_hairpinning_node |
(constructor) VLIB_REGISTER_NODE (nat44_ei_hairpinning_node)
Definition at line 737 of file nat44_ei_hairpinning.c.
lcp_arp_next_t next_index = node->cached_next_index |
Definition at line 412 of file nat44_ei_hairpinning.c.
nat44_ei_main_t * nm = &nat44_ei_main |
Definition at line 413 of file nat44_ei_hairpinning.c.
Definition at line 409 of file nat44_ei_hairpinning.c.
Definition at line 492 of file nat44_ei_hairpinning.c.
vlib_main_t* vm |
Definition at line 409 of file nat44_ei_hairpinning.c.
vnet_feature_arc_registration_t vnet_feat_arc_ip4_local |