27 #define _(bit, name, v) \ 28 if (v && (b->flags & VNET_BUFFER_F_##name)) \ 29 a = format (a, "%s ", v); 32 if (b->
flags & VNET_BUFFER_F_L2_HDR_OFFSET_VALID)
35 if (b->
flags & VNET_BUFFER_F_L3_HDR_OFFSET_VALID)
38 if (b->
flags & VNET_BUFFER_F_L4_HDR_OFFSET_VALID)
u8 * format_vnet_buffer(u8 *s, va_list *args)
u8 * format_vlib_buffer(u8 *s, va_list *args)
#define vec_free(V)
Free vector's memory (no header).
u32 flags
buffer flags: VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index, VLIB_BUFFER_IS_TRACED: trace this buffer.