FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
ah_decrypt.c File Reference
+ Include dependency graph for ah_decrypt.c:

Go to the source code of this file.

Data Structures

struct  ah_decrypt_trace_t
 

Macros

#define foreach_ah_decrypt_next
 
#define foreach_ah_decrypt_error
 

Enumerations

enum  ah_decrypt_next_t { AH_DECRYPT_N_NEXT }
 
enum  ah_decrypt_error_t { AH_DECRYPT_N_ERROR }
 

Functions

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

Variables

static char * ah_decrypt_error_strings []
 
vlib_node_registration_t ah_decrypt_node
 (constructor) VLIB_REGISTER_NODE (ah_decrypt_node) More...
 

Macro Definition Documentation

#define foreach_ah_decrypt_error
Value:
_(RX_PKTS, "AH pkts received") \
_(DECRYPTION_FAILED, "AH decryption failed") \
_(INTEG_ERROR, "Integrity check failed") \
_(REPLAY, "SA replayed packet") \
_(NOT_IP, "Not IP packet (dropped)")

Definition at line 41 of file ah_decrypt.c.

#define foreach_ah_decrypt_next
Value:
_(DROP, "error-drop") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input") \
_(IPSEC_GRE_INPUT, "ipsec-gre-input")
DROP
Definition: error.def:41

Definition at line 26 of file ah_decrypt.c.

Enumeration Type Documentation

Enumerator
AH_DECRYPT_N_ERROR 

Definition at line 49 of file ah_decrypt.c.

Enumerator
AH_DECRYPT_N_NEXT 

Definition at line 33 of file ah_decrypt.c.

Function Documentation

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

Definition at line 81 of file ah_decrypt.c.

+ Here is the call graph for this function:

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

Definition at line 70 of file ah_decrypt.c.

+ Here is the call graph for this function:

Variable Documentation

char* ah_decrypt_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ah_decrypt_error
Definition: ah_decrypt.c:41

Definition at line 57 of file ah_decrypt.c.

vlib_node_registration_t ah_decrypt_node
Initial value:
= {
.function = ah_decrypt_node_fn,
.name = "ah-decrypt",
.vector_size = sizeof (u32),
.format_trace = format_ah_decrypt_trace,
.error_strings = ah_decrypt_error_strings,
.n_next_nodes = AH_DECRYPT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
}
static char * ah_decrypt_error_strings[]
Definition: ah_decrypt.c:57
static uword ah_decrypt_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ah_decrypt.c:81
unsigned int u32
Definition: types.h:88
static u8 * format_ah_decrypt_trace(u8 *s, va_list *args)
Definition: ah_decrypt.c:70
#define ARRAY_LEN(x)
Definition: clib.h:61
#define foreach_ah_decrypt_next
Definition: ah_decrypt.c:26

(constructor) VLIB_REGISTER_NODE (ah_decrypt_node)

Definition at line 344 of file ah_decrypt.c.