FD.io VPP  v19.04.4-rc0-5-ge88582fac
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_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip6)
 
VLIB_NODE_FN() ah4_encrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
VLIB_NODE_FN() ah6_encrypt_node (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 ah4_encrypt_node
 (constructor) VLIB_REGISTER_NODE (ah4_encrypt_node) More...
 
vlib_node_registration_t ah6_encrypt_node
 (constructor) VLIB_REGISTER_NODE (ah6_encrypt_node) More...
 

Macro Definition Documentation

◆ foreach_ah_encrypt_error

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

Definition at line 41 of file ah_encrypt.c.

◆ foreach_ah_encrypt_next

#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

◆ ah_encrypt_error_t

Enumerator
AH_ENCRYPT_N_ERROR 

Definition at line 46 of file ah_encrypt.c.

◆ ah_encrypt_next_t

Enumerator
AH_ENCRYPT_N_NEXT 

Definition at line 34 of file ah_encrypt.c.

Function Documentation

◆ ah4_encrypt_node()

VLIB_NODE_FN() ah4_encrypt_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 318 of file ah_encrypt.c.

+ Here is the call graph for this function:

◆ ah6_encrypt_node()

VLIB_NODE_FN() ah6_encrypt_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 344 of file ah_encrypt.c.

+ Here is the call graph for this function:

◆ ah_encrypt_inline()

static uword ah_encrypt_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame,
int  is_ip6 
)
inlinestatic

Definition at line 84 of file ah_encrypt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ah_encrypt_trace()

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

Definition at line 71 of file ah_encrypt.c.

+ Here is the call graph for this function:

Variable Documentation

◆ ah4_encrypt_node

vlib_node_registration_t ah4_encrypt_node
Initial value:
= {
.name = "ah4-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:71
static char * ah_encrypt_error_strings[]
Definition: ah_encrypt.c:54
#define ARRAY_LEN(x)
Definition: clib.h:62
#define foreach_ah_encrypt_next
Definition: ah_encrypt.c:26

(constructor) VLIB_REGISTER_NODE (ah4_encrypt_node)

Definition at line 326 of file ah_encrypt.c.

◆ ah6_encrypt_node

vlib_node_registration_t ah6_encrypt_node
Initial value:
= {
.name = "ah6-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:71
static char * ah_encrypt_error_strings[]
Definition: ah_encrypt.c:54
#define ARRAY_LEN(x)
Definition: clib.h:62
#define foreach_ah_encrypt_next
Definition: ah_encrypt.c:26

(constructor) VLIB_REGISTER_NODE (ah6_encrypt_node)

Definition at line 352 of file ah_encrypt.c.

◆ ah_encrypt_error_strings

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

Definition at line 54 of file ah_encrypt.c.