FD.io VPP
v18.07.1-13-g909ba93
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_flag |
Flags that are set in the high order bits of ((vlib_buffer*)b)->flags. More... | |
#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_flag } |
enum | { foreach_vnet_buffer_flag } |
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_flag |
Flags that are set in the high order bits of ((vlib_buffer*)b)->flags.
#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 |