FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | esp_header_t |
struct | esp_footer_t |
struct | esp_aead_t_ |
AES GCM Additional Authentication data. More... | |
struct | esp_decrypt_packet_data_t |
The post data structure to for esp_encrypt/decrypt_inline to write to vib_buffer_t opaque unused field, and for post nodes to pick up after dequeue. More... | |
struct | esp_decrypt_packet_data2_t |
union | esp_post_data_t |
struct | esp_async_post_next_t |
Macros | |
#define | ESP_SEQ_MAX (4294967295UL) |
#define | ESP_MAX_BLOCK_SIZE (16) |
#define | ESP_MAX_IV_SIZE (16) |
#define | ESP_MAX_ICV_SIZE (32) |
#define | esp_post_data(b) |
#define | esp_post_data2(b) |
Typedefs | |
typedef struct esp_aead_t_ | esp_aead_t |
AES GCM Additional Authentication data. More... | |
Functions | |
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_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") | |
Variables | |
esp_async_post_next_t | esp_encrypt_async_next |
esp_async_post_next_t | esp_decrypt_async_next |
#define esp_post_data | ( | b | ) |
#define esp_post_data2 | ( | b | ) |
typedef struct esp_aead_t_ esp_aead_t |
AES GCM Additional Authentication data.
typedef CLIB_PACKED | ( | struct { ip4_header_t ip4;esp_header_t esp;} | ) |
typedef CLIB_PACKED | ( | struct { ip4_header_t ip4;udp_header_t udp;esp_header_t esp;} | ) |
typedef CLIB_PACKED | ( | struct { ip6_header_t ip6;esp_header_t esp;} | ) |
|
inlinestatic |
|
inlinestatic |
Definition at line 23 of file esp_format.c.
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" | |||
) |
STATIC_ASSERT_SIZEOF | ( | esp_decrypt_packet_data_t | , |
3 * | sizeofu64 | ||
) |
esp_async_post_next_t esp_decrypt_async_next |
esp_async_post_next_t esp_encrypt_async_next |