FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | snat_in2out_trace_t |
struct | snat_in2out_worker_handoff_trace_t |
Macros | |
#define | foreach_snat_in2out_error |
Enumerations | |
enum | snat_in2out_error_t { SNAT_IN2OUT_N_ERROR } |
enum | snat_in2out_next_t { SNAT_IN2OUT_NEXT_LOOKUP, SNAT_IN2OUT_NEXT_DROP, SNAT_IN2OUT_NEXT_SLOW_PATH, SNAT_IN2OUT_N_NEXT } |
Variables | |
vlib_node_registration_t | snat_in2out_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_node) More... | |
vlib_node_registration_t | snat_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_slowpath_node) More... | |
vlib_node_registration_t | snat_in2out_fast_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_fast_node) More... | |
vlib_node_registration_t | snat_in2out_worker_handoff_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_worker_handoff_node) More... | |
static char * | snat_in2out_error_strings [] |
#define foreach_snat_in2out_error |
enum snat_in2out_error_t |
enum snat_in2out_next_t |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
Hairpinning.
Hairpinning allows two endpoints on the internal side of the NAT to communicate even if they only use each other's external IP addresses and ports.
sm | SNAT main. |
b0 | Vlib buffer. |
ip0 | IP header. |
udp0 | UDP header. |
tcp0 | TCP header. |
proto0 | SNAT protocol. |
Definition at line 423 of file in2out.c.
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_in2out_node | , |
snat_in2out_fast_path_fn | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_in2out_slowpath_node | , |
snat_in2out_slow_path_fn | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_in2out_worker_handoff_node | , |
snat_in2out_worker_handoff_fn | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | snat_in2out_fast_node | , |
snat_in2out_fast_static_map_fn | |||
) |
|
static |
vlib_node_registration_t snat_in2out_fast_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_fast_node)
vlib_node_registration_t snat_in2out_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_node)
vlib_node_registration_t snat_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_slowpath_node)
vlib_node_registration_t snat_in2out_worker_handoff_node |
(constructor) VLIB_REGISTER_NODE (snat_in2out_worker_handoff_node)