FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
cnat_ipv4_tcp_inside_input_exceptions.c File Reference
+ Include dependency graph for cnat_ipv4_tcp_inside_input_exceptions.c:

Go to the source code of this file.

Data Structures

struct  cnat_ipv4_tcp_inside_input_exc_main_t
 

Macros

#define foreach_cnat_ipv4_tcp_inside_input_exc_error
 
#define CNAT_V4_TCP_I2O_E_ICMP   CNAT_V4_TCP_I2O_E_D
 
#define NSTAGES   2
 
#define stage0   generic_stage0
 

Enumerations

enum  cnat_ipv4_tcp_inside_input_exc_error_t { CNAT_IPV4_TCP_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_tcp_inside_input_exc_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
clib_error_tcnat_ipv4_tcp_inside_input_exc_init (vlib_main_t *vm)
 

Variables

static char * cnat_ipv4_tcp_inside_input_exc_error_strings []
 
cnat_ipv4_tcp_inside_input_exc_main_t cnat_ipv4_tcp_inside_input_exc_main
 
vlib_node_registration_t cnat_ipv4_tcp_inside_input_exc_node
 (constructor) VLIB_REGISTER_NODE (cnat_ipv4_tcp_inside_input_exc_node) More...
 

Macro Definition Documentation

#define CNAT_V4_TCP_I2O_E_ICMP   CNAT_V4_TCP_I2O_E_D

Definition at line 72 of file cnat_ipv4_tcp_inside_input_exceptions.c.

#define foreach_cnat_ipv4_tcp_inside_input_exc_error
Value:
_(CNAT_V4_TCP_I2O_E_T_PKT, "v4 tcp i2o-e transmit natted pkt") \
_(CNAT_V4_TCP_I2O_E_D_NON_SYN_PKT, "v4 tcp i2o-e non syn drop") \
_(CNAT_V4_TCP_I2O_E_D_INVALID_PKT, "v4 tcp i2o-e invalid pkt drop") \
_(CNAT_V4_TCP_I2O_E_DROP, "v4 tcp i2o-e drop") \
_(CNAT_V4_TCP_I2O_E_GEN_ICMP, "v4 tcp i2o-e gen icmp msg") \
_(CNAT_V4_TCP_I2O_E_D_NO_SESSION, "v4 tcp i2o-e no session db entry drop")

Definition at line 34 of file cnat_ipv4_tcp_inside_input_exceptions.c.

#define NSTAGES   2

Definition at line 77 of file cnat_ipv4_tcp_inside_input_exceptions.c.

#define stage0   generic_stage0

Definition at line 83 of file cnat_ipv4_tcp_inside_input_exceptions.c.

Enumeration Type Documentation

Enumerator
CNAT_IPV4_TCP_INSIDE_INPUT_EXCEPTIONS_N_ERROR 

Definition at line 42 of file cnat_ipv4_tcp_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 65 of file cnat_ipv4_tcp_inside_input_exceptions.c.

Function Documentation

clib_error_t* cnat_ipv4_tcp_inside_input_exc_init ( vlib_main_t vm)

Definition at line 304 of file cnat_ipv4_tcp_inside_input_exceptions.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 278 of file cnat_ipv4_tcp_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 86 of file cnat_ipv4_tcp_inside_input_exceptions.c.

+ Here is the call graph for this function:

Variable Documentation

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

Definition at line 50 of file cnat_ipv4_tcp_inside_input_exceptions.c.

cnat_ipv4_tcp_inside_input_exc_main_t cnat_ipv4_tcp_inside_input_exc_main

Definition at line 74 of file cnat_ipv4_tcp_inside_input_exceptions.c.

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

(constructor) VLIB_REGISTER_NODE (cnat_ipv4_tcp_inside_input_exc_node)

Definition at line 75 of file cnat_ipv4_tcp_inside_input_exceptions.c.