Go to the source code of this file.
|
static u8 * | format_esp_encrypt_trace (u8 *s, va_list *args) |
|
static void | esp_encrypt_cbc (vlib_main_t *vm, ipsec_crypto_alg_t alg, u8 *in, u8 *out, size_t in_len, u8 *key, u8 *iv) |
|
static uword | esp_encrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip6) |
|
VLIB_NODE_FN() | esp4_encrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | esp6_encrypt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
◆ foreach_esp_encrypt_error
#define foreach_esp_encrypt_error |
Value:_(RX_PKTS, "ESP pkts received") \
_(NO_BUFFER, "No buffer (packet dropped)") \
_(DECRYPTION_FAILED, "ESP encryption failed") \
_(SEQ_CYCLED, "sequence number cycled")
Definition at line 42 of file esp_encrypt.c.
◆ foreach_esp_encrypt_next
#define foreach_esp_encrypt_next |
Value:_(IP4_LOOKUP, "ip4-lookup") \
_(IP6_LOOKUP, "ip6-lookup") \
_(INTERFACE_OUTPUT, "interface-output")
Definition at line 28 of file esp_encrypt.c.
◆ esp_encrypt_error_t
Enumerator |
---|
ESP_ENCRYPT_N_ERROR | |
ESP_ENCRYPT_N_ERROR | |
Definition at line 49 of file esp_encrypt.c.
◆ esp_encrypt_next_t
Enumerator |
---|
ESP_ENCRYPT_N_NEXT | |
ESP_ENCRYPT_N_NEXT | |
Definition at line 35 of file esp_encrypt.c.
◆ esp4_encrypt_node()
◆ esp6_encrypt_node()
◆ esp_encrypt_cbc()
◆ esp_encrypt_inline()
◆ format_esp_encrypt_trace()
static u8* format_esp_encrypt_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ esp4_encrypt_node
Initial value:= {
.name = "esp4-encrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_esp_encrypt_trace(u8 *s, va_list *args)
#define foreach_esp_encrypt_next
static char * esp_encrypt_error_strings[]
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_node)
Definition at line 448 of file esp_encrypt.c.
◆ esp6_encrypt_node
Initial value:= {
.name = "esp6-encrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_esp_encrypt_trace(u8 *s, va_list *args)
#define foreach_esp_encrypt_next
static char * esp_encrypt_error_strings[]
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_node)
Definition at line 474 of file esp_encrypt.c.
◆ esp_encrypt_error_strings
char* esp_encrypt_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_esp_encrypt_error
Definition at line 57 of file esp_encrypt.c.
◆ ipsec_proto_main