Go to the source code of this file.
|
static u8 * | format_ah_decrypt_trace (u8 *s, va_list *args) |
|
static_always_inline void | ah_process_ops (vlib_main_t *vm, vlib_node_runtime_t *node, vnet_crypto_op_t *ops, vlib_buffer_t *b[], u16 *nexts) |
|
static uword | ah_decrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip6) |
|
VLIB_NODE_FN() | ah4_decrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | ah6_decrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static clib_error_t * | ah_decrypt_init (vlib_main_t *vm) |
|
◆ foreach_ah_decrypt_error
#define foreach_ah_decrypt_error |
Value: _ (RX_PKTS, "AH pkts received") \
_ (DECRYPTION_FAILED, "AH decryption failed") \
_ (INTEG_ERROR, "Integrity check failed") \
_ (NO_TAIL_SPACE, "not enough buffer tail space (dropped)") \
_ (DROP_FRAGMENTS, "IP fragments drop") \
_ (
REPLAY,
"SA replayed packet")
Definition at line 41 of file ah_decrypt.c.
◆ foreach_ah_decrypt_next
#define foreach_ah_decrypt_next |
Value:
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input") \
Definition at line 27 of file ah_decrypt.c.
◆ ah_decrypt_error_t
Enumerator |
---|
AH_DECRYPT_N_ERROR | |
Definition at line 49 of file ah_decrypt.c.
◆ ah_decrypt_next_t
Enumerator |
---|
AH_DECRYPT_N_NEXT | |
Definition at line 34 of file ah_decrypt.c.
◆ ah4_decrypt_node()
◆ ah6_decrypt_node()
◆ ah_decrypt_init()
◆ ah_decrypt_inline()
◆ ah_process_ops()
◆ format_ah_decrypt_trace()
static u8* format_ah_decrypt_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ah4_decrypt_node
Initial value:= {
.name = "ah4-decrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
[AH_DECRYPT_NEXT_DROP] = "ip4-drop",
[AH_DECRYPT_NEXT_IP4_INPUT] = "ip4-input-no-checksum",
[AH_DECRYPT_NEXT_IP6_INPUT] = "ip6-input",
[AH_DECRYPT_NEXT_HANDOFF] = "ah4-decrypt-handoff",
},
}
(constructor) VLIB_REGISTER_NODE (ah4_decrypt_node)
Definition at line 432 of file ah_decrypt.c.
◆ ah6_decrypt_node
Initial value:= {
.name = "ah6-decrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
[AH_DECRYPT_NEXT_DROP] = "ip6-drop",
[AH_DECRYPT_NEXT_IP4_INPUT] = "ip4-input-no-checksum",
[AH_DECRYPT_NEXT_IP6_INPUT] = "ip6-input",
[AH_DECRYPT_NEXT_HANDOFF] = "ah6-decrypt-handoff",
},
}
(constructor) VLIB_REGISTER_NODE (ah6_decrypt_node)
Definition at line 459 of file ah_decrypt.c.
◆ ah_decrypt_error_strings
char* ah_decrypt_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 57 of file ah_decrypt.c.