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

Go to the source code of this file.

Data Structures

struct  cnat_ipv4_icmp_q_inside_input_exc_main_t
 

Macros

#define foreach_cnat_ipv4_icmp_q_inside_input_exc_error
 
#define CNAT_V4_ICMP_Q_E_I2O_GEN   CNAT_V4_ICMP_Q_E_I2O_T
 
#define NSTAGES   2
 
#define stage0   generic_stage0
 

Enumerations

enum  cnat_ipv4_icmp_q_inside_input_exc_error_t { CNAT_IPV4_ICMP_Q_INSIDE_INPUT_EXCEPTIONS_N_ERROR }
 
enum  cnat_ipv4_icmp_q_inside_input_exc_next_t { CNAT_V4_ICMP_Q_E_I2O_T, CNAT_V4_ICMP_Q_E_I2O_D, CNAT_V4_ICMP_Q_E_I2O_NEXT }
 

Functions

static u32 last_stage (vlib_main_t *vm, vlib_node_runtime_t *node, u32 bi)
 
static uword cnat_ipv4_icmp_q_inside_input_exc_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
clib_error_tcnat_ipv4_icmp_q_inside_input_exc_init (vlib_main_t *vm)
 

Variables

static char * cnat_ipv4_icmp_q_inside_input_exc_error_strings []
 
cnat_ipv4_icmp_q_inside_input_exc_main_t cnat_ipv4_icmp_q_inside_input_exc_main
 
vlib_node_registration_t cnat_ipv4_icmp_q_inside_input_exc_node
 (constructor) VLIB_REGISTER_NODE (cnat_ipv4_icmp_q_inside_input_exc_node) More...
 

Macro Definition Documentation

#define CNAT_V4_ICMP_Q_E_I2O_GEN   CNAT_V4_ICMP_Q_E_I2O_T
#define foreach_cnat_ipv4_icmp_q_inside_input_exc_error
Value:
_(CNAT_V4_ICMP_Q_I2O_E_T_PKT, "v4 icmp query i2o-e transmit") \
_(CNAT_V4_ICMP_Q_I2O_E_G_PKT, "v4 icmp query i2o-e gen icmp msg") \
_(CNAT_V4_ICMP_Q_I2O_E_D_PKT, "v4 icmp query i2o-e pkt drop") \
_(CNAT_V4_ICMP_Q_I2O_E_DC_PKT, "v4 icmp query i2o-e drop (no config)") \
_(CNAT_V4_ICMP_Q_I2O_E_DR_PKT, "v4 icmp query i2o-e drop (not in run state)") \
_(CNAT_V4_ICMP_Q_I2O_E_DD_PKT, "v4 icmp query i2o-e drop (no direct port)") \
_(CNAT_V4_ICMP_Q_I2O_E_DA_PKT, "v4 icmp query i2o-e drop (no any port)") \
_(CNAT_V4_ICMP_Q_I2O_E_DO_PKT, "v4 icmp query i2o-e drop (out of port limit)") \
_(CNAT_V4_ICMP_Q_I2O_E_DS_PKT, "v4 icmp query i2o_e drop (out of session db)")

Definition at line 27 of file cnat_ipv4_icmp_query_inside_input_exception.c.

#define NSTAGES   2
#define stage0   generic_stage0

Enumeration Type Documentation

Enumerator
CNAT_IPV4_ICMP_Q_INSIDE_INPUT_EXCEPTIONS_N_ERROR 

Definition at line 38 of file cnat_ipv4_icmp_query_inside_input_exception.c.

Enumerator
CNAT_V4_ICMP_Q_E_I2O_T 
CNAT_V4_ICMP_Q_E_I2O_D 
CNAT_V4_ICMP_Q_E_I2O_NEXT 

Definition at line 61 of file cnat_ipv4_icmp_query_inside_input_exception.c.

Function Documentation

clib_error_t* cnat_ipv4_icmp_q_inside_input_exc_init ( vlib_main_t vm)

Definition at line 225 of file cnat_ipv4_icmp_query_inside_input_exception.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 197 of file cnat_ipv4_icmp_query_inside_input_exception.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 81 of file cnat_ipv4_icmp_query_inside_input_exception.c.

+ Here is the call graph for this function:

Variable Documentation

char* cnat_ipv4_icmp_q_inside_input_exc_error_strings[]
static
Initial value:

Definition at line 46 of file cnat_ipv4_icmp_query_inside_input_exception.c.

cnat_ipv4_icmp_q_inside_input_exc_main_t cnat_ipv4_icmp_q_inside_input_exc_main
vlib_node_registration_t cnat_ipv4_icmp_q_inside_input_exc_node
Initial value:
= {
.name = "vcgn-v4-icmp-q-i2o-e",
.vector_size = sizeof (u32),
.n_next_nodes = CNAT_V4_ICMP_Q_E_I2O_NEXT,
.next_nodes = {
[CNAT_V4_ICMP_Q_E_I2O_T] = "ip4-input",
[CNAT_V4_ICMP_Q_E_I2O_D] = "error-drop",
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword cnat_ipv4_icmp_q_inside_input_exc_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * cnat_ipv4_icmp_q_inside_input_exc_error_strings[]

(constructor) VLIB_REGISTER_NODE (cnat_ipv4_icmp_q_inside_input_exc_node)

Definition at line 71 of file cnat_ipv4_icmp_query_inside_input_exception.c.