FD.io VPP  v16.09
Vector Packet Processing
cnat_ipv4_udp_inside_input_exceptions.c File Reference
+ Include dependency graph for cnat_ipv4_udp_inside_input_exceptions.c:

Go to the source code of this file.

Data Structures

struct  cnat_ipv4_udp_inside_input_exc_main_t
 

Macros

#define foreach_cnat_ipv4_udp_inside_input_exc_error
 
#define NSTAGES   2
 
#define stage0   generic_stage0
 

Enumerations

enum  cnat_ipv4_udp_inside_input_exc_error_t { CNAT_IPV4_UDP_INSIDE_INPUT_EXCEPTIONS_N_ERROR }
 
enum  cnat_ipv4_udp_inside_input_exc_next_t {
  CNAT_V4_TCP_I2O_E_T, CNAT_V4_TCP_I2O_E_D, CNAT_V4_TCP_I2O_E_NEXT, CNAT_V4_UDP_I2O_T,
  CNAT_V4_UDP_I2O_D, CNAT_V4_ICMP_G_I2O_T = CNAT_V4_UDP_I2O_D, CNAT_V4_UDP_INSIDE_INPUT_EXC_N_NEXT
}
 

Functions

static u32 last_stage (vlib_main_t *vm, vlib_node_runtime_t *node, u32 bi)
 
static uword cnat_ipv4_udp_inside_input_exc_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
clib_error_tcnat_ipv4_udp_inside_input_exc_init (vlib_main_t *vm)
 

Variables

static char * cnat_ipv4_udp_inside_input_exc_error_strings []
 
cnat_ipv4_udp_inside_input_exc_main_t cnat_ipv4_udp_inside_input_exc_main
 
vlib_node_registration_t cnat_ipv4_udp_inside_input_exc_node
 (constructor) VLIB_REGISTER_NODE (cnat_ipv4_udp_inside_input_exc_node) More...
 

Macro Definition Documentation

#define foreach_cnat_ipv4_udp_inside_input_exc_error
Value:
_(CNAT_V4_UDP_I2O_T_PKT, "v4 udp i2o transmit") \
_(CNAT_V4_UDP_I2O_D_PKT, "v4 udp i2o drop") \
_(CNAT_V4_ICMP_G_I2O_T_PKT, "v4 udp i2o icmp msg gen") \
_(CNAT_V4_UDP_I2O_DC_PKT, "v4 udp i2o (no config) drop") \
_(CNAT_V4_UDP_I2O_DR_PKT, "v4 udp i2o (not in run state) drop") \
_(CNAT_V4_UDP_I2O_DD_PKT, "v4 udp i2o (no direct port) drop") \
_(CNAT_V4_UDP_I2O_DA_PKT, "v4 udp i2o (no any port) drop") \
_(CNAT_V4_UDP_I2O_DO_PKT, "v4 udp i2o (out of port limit) drop") \
_(CNAT_V4_UDP_I2O_DI_PKT, "v4 udp i2o (invalid packet) drop") \
_(CNAT_V4_UDP_I2O_DS_PKT, "v4 udp i2o (no sessoon db) drop")

Definition at line 34 of file cnat_ipv4_udp_inside_input_exceptions.c.

#define NSTAGES   2

Definition at line 79 of file cnat_ipv4_udp_inside_input_exceptions.c.

#define stage0   generic_stage0

Definition at line 85 of file cnat_ipv4_udp_inside_input_exceptions.c.

Enumeration Type Documentation

Enumerator
CNAT_IPV4_UDP_INSIDE_INPUT_EXCEPTIONS_N_ERROR 

Definition at line 46 of file cnat_ipv4_udp_inside_input_exceptions.c.

Enumerator
CNAT_V4_TCP_I2O_E_T 
CNAT_V4_TCP_I2O_E_D 
CNAT_V4_TCP_I2O_E_NEXT 
CNAT_V4_UDP_I2O_T 
CNAT_V4_UDP_I2O_D 
CNAT_V4_ICMP_G_I2O_T 
CNAT_V4_UDP_INSIDE_INPUT_EXC_N_NEXT 

Definition at line 69 of file cnat_ipv4_udp_inside_input_exceptions.c.

Function Documentation

clib_error_t* cnat_ipv4_udp_inside_input_exc_init ( vlib_main_t vm)

Definition at line 272 of file cnat_ipv4_udp_inside_input_exceptions.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword cnat_ipv4_udp_inside_input_exc_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 246 of file cnat_ipv4_udp_inside_input_exceptions.c.

+ Here is the call graph for this function:

static u32 last_stage ( vlib_main_t vm,
vlib_node_runtime_t node,
u32  bi 
)
inlinestatic

Definition at line 87 of file cnat_ipv4_udp_inside_input_exceptions.c.

+ Here is the call graph for this function:

Variable Documentation

char* cnat_ipv4_udp_inside_input_exc_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_cnat_ipv4_udp_inside_input_exc_error

Definition at line 54 of file cnat_ipv4_udp_inside_input_exceptions.c.

cnat_ipv4_udp_inside_input_exc_main_t cnat_ipv4_udp_inside_input_exc_main

Definition at line 76 of file cnat_ipv4_udp_inside_input_exceptions.c.

vlib_node_registration_t cnat_ipv4_udp_inside_input_exc_node
Initial value:
= {
.name = "vcgn-v4-udp-i2o-e",
.vector_size = sizeof (u32),
.next_nodes = {
[CNAT_V4_UDP_I2O_T] = "ip4-input",
[CNAT_V4_UDP_I2O_D] = "error-drop",
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static char * cnat_ipv4_udp_inside_input_exc_error_strings[]
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword cnat_ipv4_udp_inside_input_exc_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)

(constructor) VLIB_REGISTER_NODE (cnat_ipv4_udp_inside_input_exc_node)

Definition at line 77 of file cnat_ipv4_udp_inside_input_exceptions.c.