27 #define _(bit,name,ss,v) \ 28 if (v && (b->flags & VNET_BUFFER_F_##name)) \ 29 a = format (a, "%s ", ss); 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)
41 if (b->
flags & VNET_BUFFER_F_QOS_DATA_VALID)
42 a =
format (a,
"qos %d.%d ",
45 if (b->
flags & VNET_BUFFER_F_LOOP_COUNTER_VALID)
u32 flags
buffer flags: VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index, VLIB_BUFFER_IS_TRACED: trace this buffer.
u8 * format_vnet_buffer(u8 *s, va_list *args)
u8 * format_vlib_buffer_no_chain(u8 *s, va_list *args)
#define vec_free(V)
Free vector's memory (no header).
VLIB buffer representation.