FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
ah_encrypt.c File Reference
+ Include dependency graph for ah_encrypt.c:

Go to the source code of this file.

Data Structures

struct  ah_encrypt_trace_t
 

Macros

#define foreach_ah_encrypt_next
 
#define foreach_ah_encrypt_error
 

Enumerations

enum  ah_encrypt_next_t { AH_ENCRYPT_N_NEXT }
 
enum  ah_encrypt_error_t { AH_ENCRYPT_N_ERROR }
 

Functions

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

Variables

static char * ah_encrypt_error_strings []
 
vlib_node_registration_t ah_encrypt_node
 (constructor) VLIB_REGISTER_NODE (ah_encrypt_node) More...
 

Macro Definition Documentation

#define foreach_ah_encrypt_error
Value:
_(RX_PKTS, "AH pkts received") \
_(SEQ_CYCLED, "sequence number cycled")

Definition at line 40 of file ah_encrypt.c.

#define foreach_ah_encrypt_next
Value:
_(DROP, "error-drop") \
_(IP4_LOOKUP, "ip4-lookup") \
_(IP6_LOOKUP, "ip6-lookup") \
_(INTERFACE_OUTPUT, "interface-output")
DROP
Definition: error.def:41

Definition at line 26 of file ah_encrypt.c.

Enumeration Type Documentation

Enumerator
AH_ENCRYPT_N_ERROR 

Definition at line 45 of file ah_encrypt.c.

Enumerator
AH_ENCRYPT_N_NEXT 

Definition at line 33 of file ah_encrypt.c.

Function Documentation

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

Definition at line 82 of file ah_encrypt.c.

+ Here is the call graph for this function:

static u8* format_ah_encrypt_trace ( u8 s,
va_list *  args 
)
static

Definition at line 70 of file ah_encrypt.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* ah_encrypt_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ah_encrypt_error
Definition: ah_encrypt.c:40

Definition at line 53 of file ah_encrypt.c.

vlib_node_registration_t ah_encrypt_node
Initial value:
= {
.function = ah_encrypt_node_fn,
.name = "ah-encrypt",
.vector_size = sizeof (u32),
.format_trace = format_ah_encrypt_trace,
.error_strings = ah_encrypt_error_strings,
.n_next_nodes = AH_ENCRYPT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
}
unsigned int u32
Definition: types.h:88
static u8 * format_ah_encrypt_trace(u8 *s, va_list *args)
Definition: ah_encrypt.c:70
static char * ah_encrypt_error_strings[]
Definition: ah_encrypt.c:53
#define ARRAY_LEN(x)
Definition: clib.h:59
static uword ah_encrypt_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ah_encrypt.c:82
#define foreach_ah_encrypt_next
Definition: ah_encrypt.c:26

(constructor) VLIB_REGISTER_NODE (ah_encrypt_node)

Definition at line 59 of file ah_encrypt.c.