FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vnet_buffer_opaque_t |
struct | vnet_buffer_opaque2_t |
Macros | |
#define | foreach_vnet_buffer_field |
#define | VNET_BUFFER_FLAGS_VLAN_BITS (VNET_BUFFER_F_VLAN_1_DEEP | VNET_BUFFER_F_VLAN_2_DEEP) |
#define | foreach_buffer_opaque_union_subtype |
#define | vnet_buffer(b) ((vnet_buffer_opaque_t *) (b)->opaque) |
#define | vnet_buffer2(b) ((vnet_buffer_opaque2_t *) (b)->opaque2) |
Enumerations | |
enum | { foreach_vnet_buffer_field } |
enum | { foreach_vnet_buffer_field } |
Functions | |
STATIC_ASSERT (sizeof(vnet_buffer_opaque_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque),"VNET buffer meta-data too large for vlib_buffer") | |
STATIC_ASSERT (sizeof(vnet_buffer_opaque2_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque2),"VNET buffer opaque2 meta-data too large for vlib_buffer") | |
Variables | |
format_function_t | format_vnet_buffer |
#define foreach_buffer_opaque_union_subtype |
foreach_vnet_buffer_field |
#define vnet_buffer | ( | b | ) | ((vnet_buffer_opaque_t *) (b)->opaque) |
#define vnet_buffer2 | ( | b | ) | ((vnet_buffer_opaque2_t *) (b)->opaque2) |
#define VNET_BUFFER_FLAGS_VLAN_BITS (VNET_BUFFER_F_VLAN_1_DEEP | VNET_BUFFER_F_VLAN_2_DEEP) |
STATIC_ASSERT | ( | sizeof(vnet_buffer_opaque_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque) | , |
"VNET buffer meta-data too large for vlib_buffer" | |||
) |
STATIC_ASSERT | ( | sizeof(vnet_buffer_opaque2_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque2) | , |
"VNET buffer opaque2 meta-data too large for vlib_buffer" | |||
) |
format_function_t format_vnet_buffer |