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

Go to the source code of this file.

Data Structures

struct  ipsec_if_output_trace_t
 

Macros

#define foreach_ipsec_if_output_error   _(TX, "good packets transmitted")
 

Enumerations

enum  ipsec_if_output_error_t { IPSEC_IF_OUTPUT_N_ERROR }
 
enum  ipsec_if_output_next_t { IPSEC_IF_OUTPUT_NEXT_ESP_ENCRYPT, IPSEC_IF_OUTPUT_NEXT_DROP, IPSEC_IF_OUTPUT_N_NEXT }
 

Functions

u8format_ipsec_if_output_trace (u8 *s, va_list *args)
 
static uword ipsec_if_output_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * ipsec_if_output_error_strings []
 
vlib_node_registration_t ipsec_if_output_node
 (constructor) VLIB_REGISTER_NODE (ipsec_if_output_node) More...
 

Macro Definition Documentation

#define foreach_ipsec_if_output_error   _(TX, "good packets transmitted")

Definition at line 26 of file ipsec_if_out.c.

Enumeration Type Documentation

Enumerator
IPSEC_IF_OUTPUT_N_ERROR 

Definition at line 35 of file ipsec_if_out.c.

Enumerator
IPSEC_IF_OUTPUT_NEXT_ESP_ENCRYPT 
IPSEC_IF_OUTPUT_NEXT_DROP 
IPSEC_IF_OUTPUT_N_NEXT 

Definition at line 43 of file ipsec_if_out.c.

Function Documentation

u8* format_ipsec_if_output_trace ( u8 s,
va_list *  args 
)

Definition at line 58 of file ipsec_if_out.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword ipsec_if_output_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 69 of file ipsec_if_out.c.

+ Here is the call graph for this function:

Variable Documentation

char* ipsec_if_output_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ipsec_if_output_error
Definition: ipsec_if_out.c:26

Definition at line 29 of file ipsec_if_out.c.

vlib_node_registration_t ipsec_if_output_node
Initial value:
= {
.name = "ipsec-if-output",
.vector_size = sizeof (u32),
.n_next_nodes = IPSEC_IF_OUTPUT_N_NEXT,
.next_nodes = {
[IPSEC_IF_OUTPUT_NEXT_DROP] = "error-drop",
},
}
u8 * format_ipsec_if_output_trace(u8 *s, va_list *args)
Definition: ipsec_if_out.c:58
static uword ipsec_if_output_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ipsec_if_out.c:69
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static char * ipsec_if_output_error_strings[]
Definition: ipsec_if_out.c:29
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ipsec_if_output_node)

Definition at line 131 of file ipsec_if_out.c.