FD.io VPP
v21.10.1-2-g0a485f517
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_ALL_AVAIL |
#define | VNET_BUFFER_FLAGS_VLAN_BITS (VNET_BUFFER_F_VLAN_1_DEEP | VNET_BUFFER_F_VLAN_2_DEEP) |
#define | foreach_vnet_buffer_offload_flag |
#define | VNET_BUFFER_OFFLOAD_F_TNL_MASK (VNET_BUFFER_OFFLOAD_F_TNL_VXLAN | VNET_BUFFER_OFFLOAD_F_TNL_IPIP) |
#define | foreach_buffer_opaque_union_subtype |
#define | VNET_REWRITE_TOTAL_BYTES (VLIB_BUFFER_PRE_DATA_SIZE) |
#define | vnet_buffer(b) ((vnet_buffer_opaque_t *) (b)->opaque) |
#define | vnet_buffer2(b) ((vnet_buffer_opaque2_t *) (b)->opaque2) |
#define | gso_mtu_sz(b) |
Enumerations | |
enum | { foreach_vnet_buffer_flag } |
enum | { foreach_vnet_buffer_flag } |
enum | vnet_buffer_oflags_t { foreach_vnet_buffer_offload_flag } |
Functions | |
STATIC_ASSERT (((VNET_BUFFER_FLAGS_ALL_AVAIL &VLIB_BUFFER_FLAGS_ALL)==0), "VLIB / VNET buffer flags overlap") | |
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") | |
static_always_inline void | vnet_buffer_offload_flags_set (vlib_buffer_t *b, vnet_buffer_oflags_t oflags) |
static_always_inline void | vnet_buffer_offload_flags_clear (vlib_buffer_t *b, vnet_buffer_oflags_t oflags) |
Variables | |
save_rewrite_length must be aligned so that reass doesn t overwrite | it |
format_function_t | format_vnet_buffer_no_chain |
format_function_t | format_vnet_buffer |
format_function_t | format_vnet_buffer_offload |
format_function_t | format_vnet_buffer_flags |
format_function_t | format_vnet_buffer_opaque |
format_function_t | format_vnet_buffer_opaque2 |
#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 foreach_vnet_buffer_offload_flag |
#define gso_mtu_sz | ( | b | ) |
#define vnet_buffer | ( | b | ) | ((vnet_buffer_opaque_t *) (b)->opaque) |
#define vnet_buffer2 | ( | b | ) | ((vnet_buffer_opaque2_t *) (b)->opaque2) |
#define VNET_BUFFER_FLAGS_ALL_AVAIL |
#define VNET_BUFFER_FLAGS_VLAN_BITS (VNET_BUFFER_F_VLAN_1_DEEP | VNET_BUFFER_F_VLAN_2_DEEP) |
#define VNET_BUFFER_OFFLOAD_F_TNL_MASK (VNET_BUFFER_OFFLOAD_F_TNL_VXLAN | VNET_BUFFER_OFFLOAD_F_TNL_IPIP) |
#define VNET_REWRITE_TOTAL_BYTES (VLIB_BUFFER_PRE_DATA_SIZE) |
enum vnet_buffer_oflags_t |
STATIC_ASSERT | ( | ((VNET_BUFFER_FLAGS_ALL_AVAIL &VLIB_BUFFER_FLAGS_ALL)==0) | , |
"VLIB / VNET buffer flags overlap" | |||
) |
STATIC_ASSERT | ( | sizeof(vnet_buffer_opaque2_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque2) | , |
"VNET buffer opaque2 meta-data too large for vlib_buffer" | |||
) |
STATIC_ASSERT | ( | sizeof(vnet_buffer_opaque_t)<=STRUCT_SIZE_OF(vlib_buffer_t, opaque) | , |
"VNET buffer meta-data too large for vlib_buffer" | |||
) |
static_always_inline void vnet_buffer_offload_flags_clear | ( | vlib_buffer_t * | b, |
vnet_buffer_oflags_t | oflags | ||
) |
static_always_inline void vnet_buffer_offload_flags_set | ( | vlib_buffer_t * | b, |
vnet_buffer_oflags_t | oflags | ||
) |
format_function_t format_vnet_buffer |
format_function_t format_vnet_buffer_flags |
format_function_t format_vnet_buffer_no_chain |
format_function_t format_vnet_buffer_offload |
format_function_t format_vnet_buffer_opaque |
format_function_t format_vnet_buffer_opaque2 |