Go to the source code of this file.
|
typedef | CLIB_PACKED (struct { ip4_header_t ip4;esp_header_t esp;}) ip4_and_esp_header_t |
|
typedef | CLIB_PACKED (struct { ip4_header_t ip4;udp_header_t udp;esp_header_t esp;}) ip4_and_udp_and_esp_header_t |
|
typedef | CLIB_PACKED (struct { ip6_header_t ip6;esp_header_t esp;}) ip6_and_esp_header_t |
|
u8 * | format_esp_header (u8 *s, va_list *args) |
|
static int | esp_seq_advance (ipsec_sa_t *sa) |
|
static u16 | esp_aad_fill (u8 *data, const esp_header_t *esp, const ipsec_sa_t *sa) |
|
static void | esp_set_next_index (int is_async, u32 *from, u16 *nexts, u32 bi, u16 *drop_index, u16 drop_next, u16 *next) |
|
static void | esp_async_recycle_failed_submit (vnet_crypto_async_frame_t *f, vlib_buffer_t **b, u32 *from, u16 *nexts, u16 *n_dropped, u16 drop_next_index, vlib_error_t err) |
|
| STATIC_ASSERT_SIZEOF (esp_decrypt_packet_data_t, 3 *sizeof(u64)) |
|
| STATIC_ASSERT (sizeof(esp_post_data_t)<=STRUCT_SIZE_OF(vnet_buffer_opaque_t, unused), "Custom meta-data too large for vnet_buffer_opaque_t") |
|
| STATIC_ASSERT (sizeof(esp_decrypt_packet_data2_t)<=STRUCT_SIZE_OF(vnet_buffer_opaque2_t, unused), "Custom meta-data too large for vnet_buffer_opaque2_t") |
|
◆ ESP_MAX_BLOCK_SIZE
#define ESP_MAX_BLOCK_SIZE (16) |
Definition at line 76 of file esp.h.
◆ ESP_MAX_ICV_SIZE
#define ESP_MAX_ICV_SIZE (32) |
Definition at line 78 of file esp.h.
◆ ESP_MAX_IV_SIZE
#define ESP_MAX_IV_SIZE (16) |
Definition at line 77 of file esp.h.
◆ esp_post_data
#define esp_post_data |
( |
|
b | ) |
|
Value:#define STRUCT_OFFSET_OF(t, f)
Definition at line 219 of file esp.h.
◆ esp_post_data2
#define esp_post_data2 |
( |
|
b | ) |
|
Value:
#define STRUCT_OFFSET_OF(t, f)
Definition at line 227 of file esp.h.
◆ ESP_SEQ_MAX
#define ESP_SEQ_MAX (4294967295UL) |
Definition at line 75 of file esp.h.
◆ esp_aead_t
AES GCM Additional Authentication data.
◆ CLIB_PACKED() [1/3]
◆ CLIB_PACKED() [2/3]
◆ CLIB_PACKED() [3/3]
◆ esp_aad_fill()
◆ esp_async_recycle_failed_submit()
◆ esp_seq_advance()
Definition at line 84 of file esp.h.
◆ esp_set_next_index()
static void esp_set_next_index |
( |
int |
is_async, |
|
|
u32 * |
from, |
|
|
u16 * |
nexts, |
|
|
u32 |
bi, |
|
|
u16 * |
drop_index, |
|
|
u16 |
drop_next, |
|
|
u16 * |
next |
|
) |
| |
|
inlinestatic |
◆ format_esp_header()
u8* format_esp_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ STATIC_ASSERT() [1/2]
◆ STATIC_ASSERT() [2/2]
◆ STATIC_ASSERT_SIZEOF()
◆ esp_decrypt_async_next
◆ esp_encrypt_async_next