FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | cnat_ipv4_udp_outside_input_main_t |
Macros | |
#define | foreach_cnat_ipv4_udp_outside_input_error |
#define | NSTAGES 6 |
#define | stage0 generic_stage0 |
#define | CNAT_UDP_OUTSIDE_UPDATE_FLAG_TIMER(db, dslite_nat44_inst_id) |
#define | UDP_PACKET_DEBUG 1 |
#define | SPP_LOG2_CACHE_LINE_BYTES 6 |
#define | SPP_CACHE_LINE_BYTES (1 << SPP_LOG2_CACHE_LINE_BYTES) |
Enumerations | |
enum | cnat_ipv4_udp_outside_input_t { CNAT_IPV4_UDP_OUTSIDE_INPUT_N_ERROR } |
enum | cnat_ipv4_udp_outside_input_next_t { CNAT_V4_UDP_O2I_E, CNAT_V4_UDP_O2I_T, CNAT_V4_UDP_O2I_NEXT } |
Functions | |
static void | swap_ip_dst (ipv4_header *ip, cnat_main_db_entry_t *db, u16 vrf) |
void | swap_ip_dst_udp_port (ipv4_header *ip, udp_hdr_type_t *udp, cnat_main_db_entry_t *db, u16 vrf) |
static void | stage1 (vlib_main_t *vm, vlib_node_runtime_t *node, u32 buffer_index) |
static void | stage2 (vlib_main_t *vm, vlib_node_runtime_t *node, u32 buffer_index) |
static void | stage3 (vlib_main_t *vm, vlib_node_runtime_t *node, u32 buffer_index) |
static void | stage4 (vlib_main_t *vm, vlib_node_runtime_t *node, u32 buffer_index) |
static u32 | last_stage (vlib_main_t *vm, vlib_node_runtime_t *node, u32 bi) |
static uword | cnat_ipv4_udp_outside_input_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
clib_error_t * | cnat_ipv4_udp_outside_input_init (vlib_main_t *vm) |
Variables | |
static char * | cnat_ipv4_udp_outside_input_error_strings [] |
cnat_ipv4_udp_outside_input_main_t | cnat_ipv4_udp_outside_input_main |
vlib_node_registration_t | cnat_ipv4_udp_outside_input_node |
(constructor) VLIB_REGISTER_NODE (cnat_ipv4_udp_outside_input_node) More... | |
#define CNAT_UDP_OUTSIDE_UPDATE_FLAG_TIMER | ( | db, | |
dslite_nat44_inst_id | |||
) |
Definition at line 112 of file cnat_ipv4_udp_outside_input.c.
#define foreach_cnat_ipv4_udp_outside_input_error |
Definition at line 36 of file cnat_ipv4_udp_outside_input.c.
#define NSTAGES 6 |
Definition at line 84 of file cnat_ipv4_udp_outside_input.c.
#define SPP_CACHE_LINE_BYTES (1 << SPP_LOG2_CACHE_LINE_BYTES) |
Definition at line 314 of file cnat_ipv4_udp_outside_input.c.
#define SPP_LOG2_CACHE_LINE_BYTES 6 |
Definition at line 313 of file cnat_ipv4_udp_outside_input.c.
#define stage0 generic_stage0 |
Definition at line 90 of file cnat_ipv4_udp_outside_input.c.
#define UDP_PACKET_DEBUG 1 |
Enumerator | |
---|---|
CNAT_V4_UDP_O2I_E | |
CNAT_V4_UDP_O2I_T | |
CNAT_V4_UDP_O2I_NEXT |
Definition at line 71 of file cnat_ipv4_udp_outside_input.c.
Enumerator | |
---|---|
CNAT_IPV4_UDP_OUTSIDE_INPUT_N_ERROR |
Definition at line 49 of file cnat_ipv4_udp_outside_input.c.
clib_error_t* cnat_ipv4_udp_outside_input_init | ( | vlib_main_t * | vm | ) |
Definition at line 595 of file cnat_ipv4_udp_outside_input.c.
|
static |
Definition at line 560 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 421 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 276 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 310 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 317 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 347 of file cnat_ipv4_udp_outside_input.c.
|
inlinestatic |
Definition at line 141 of file cnat_ipv4_udp_outside_input.c.
|
inline |
Definition at line 180 of file cnat_ipv4_udp_outside_input.c.
|
static |
Definition at line 56 of file cnat_ipv4_udp_outside_input.c.
cnat_ipv4_udp_outside_input_main_t cnat_ipv4_udp_outside_input_main |
Definition at line 81 of file cnat_ipv4_udp_outside_input.c.
vlib_node_registration_t cnat_ipv4_udp_outside_input_node |
(constructor) VLIB_REGISTER_NODE (cnat_ipv4_udp_outside_input_node)
Definition at line 82 of file cnat_ipv4_udp_outside_input.c.