Go to the source code of this file.
|
static u8 * | format_esp_decrypt_trace (u8 *s, va_list *args) |
|
static void | esp_decrypt_cbc (ipsec_crypto_alg_t alg, u8 *in, u8 *out, size_t in_len, u8 *key, u8 *iv) |
|
static uword | esp_decrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip6) |
|
VLIB_NODE_FN() | esp4_decrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | esp6_decrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
◆ foreach_esp_decrypt_error
#define foreach_esp_decrypt_error |
Value:_(RX_PKTS, "ESP pkts received") \
_(NO_BUFFER, "No buffer (packed dropped)") \
_(DECRYPTION_FAILED, "ESP decryption failed") \
_(INTEG_ERROR, "Integrity check failed") \
_(
REPLAY,
"SA replayed packet") \
_(NOT_IP, "Not IP packet (dropped)")
Definition at line 40 of file esp_decrypt.c.
◆ foreach_esp_decrypt_next
#define foreach_esp_decrypt_next |
Value:_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input") \
_(IPSEC_GRE_INPUT, "ipsec-gre-input")
Definition at line 25 of file esp_decrypt.c.
◆ esp_decrypt_error_t
Enumerator |
---|
ESP_DECRYPT_N_ERROR | |
ESP_DECRYPT_N_ERROR | |
Definition at line 49 of file esp_decrypt.c.
◆ esp_decrypt_next_t
Enumerator |
---|
ESP_DECRYPT_N_NEXT | |
ESP_DECRYPT_N_NEXT | |
Definition at line 32 of file esp_decrypt.c.
◆ esp4_decrypt_node()
◆ esp6_decrypt_node()
◆ esp_decrypt_cbc()
◆ esp_decrypt_inline()
◆ format_esp_decrypt_trace()
static u8* format_esp_decrypt_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ esp4_decrypt_node
Initial value:= {
.name = "esp4-decrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_esp_decrypt_trace(u8 *s, va_list *args)
static char * esp_decrypt_error_strings[]
#define foreach_esp_decrypt_next
(constructor) VLIB_REGISTER_NODE (esp4_decrypt_node)
Definition at line 417 of file esp_decrypt.c.
◆ esp6_decrypt_node
Initial value:= {
.name = "esp6-decrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_esp_decrypt_trace(u8 *s, va_list *args)
static char * esp_decrypt_error_strings[]
#define foreach_esp_decrypt_next
(constructor) VLIB_REGISTER_NODE (esp6_decrypt_node)
Definition at line 443 of file esp_decrypt.c.
◆ esp_decrypt_error_strings
char* esp_decrypt_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_esp_decrypt_error
Definition at line 57 of file esp_decrypt.c.