Go to the source code of this file.
|
static u8 * | format_esp_decrypt_trace (u8 *s, va_list *args) |
|
always_inline void | esp_decrypt_aes_cbc (ipsec_crypto_alg_t alg, u8 *in, u8 *out, size_t in_len, u8 *key, u8 *iv) |
|
always_inline int | esp_replay_check (ipsec_sa_t *sa, u32 seq) |
|
always_inline int | esp_replay_check_esn (ipsec_sa_t *sa, u32 seq) |
|
always_inline void | esp_replay_advance (ipsec_sa_t *sa, u32 seq) |
|
always_inline void | esp_replay_advance_esn (ipsec_sa_t *sa, u32 seq) |
|
static uword | esp_decrypt_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
#define ESP_WINDOW_SIZE 64 |
#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")
Definition at line 40 of file esp_decrypt.c.
#define foreach_esp_decrypt_next |
Value:_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input")
Definition at line 27 of file esp_decrypt.c.
static u8* format_esp_decrypt_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* esp_decrypt_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_esp_decrypt_error
Definition at line 55 of file esp_decrypt.c.
Initial value:= {
.name = "esp-decrypt",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static char * esp_decrypt_error_strings[]
static u8 * format_esp_decrypt_trace(u8 *s, va_list *args)
static uword esp_decrypt_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_esp_decrypt_next
(constructor) VLIB_REGISTER_NODE (esp_decrypt_node)
Definition at line 410 of file esp_decrypt.c.