FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | snat_in2out_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 } |
Functions | |
static u8 * | format_snat_in2out_trace (u8 *s, va_list *args) |
static u32 | slow_path (snat_main_t *sm, vlib_buffer_t *b0, ip4_header_t *ip0, u32 rx_fib_index0, snat_session_key_t *key0, snat_session_t **sessionp, vlib_node_runtime_t *node, u32 next0) |
static u32 | icmp_in2out_slow_path (snat_main_t *sm, vlib_buffer_t *b0, ip4_header_t *ip0, icmp46_header_t *icmp0, u32 sw_if_index0, u32 rx_fib_index0, vlib_node_runtime_t *node, u32 next0, f64 now) |
static uword | snat_in2out_node_fn_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_slow_path) |
static uword | snat_in2out_fast_path_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FUNCTION_MULTIARCH (snat_in2out_node, snat_in2out_fast_path_fn) | |
static uword | snat_in2out_slow_path_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FUNCTION_MULTIARCH (snat_in2out_slowpath_node, snat_in2out_slow_path_fn) | |
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... | |
static char * | snat_in2out_error_strings [] |
#define foreach_snat_in2out_error |
enum snat_in2out_error_t |
enum snat_in2out_next_t |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
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 | |||
) |
|
static |
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)