Definition at line 62 of file buffer.h.
vlib_buffer_t::CLIB_CACHE_LINE_ALIGN_MARK |
( |
cacheline0 |
| ) |
|
vlib_buffer_t::CLIB_CACHE_LINE_ALIGN_MARK |
( |
cacheline1 |
| ) |
|
vlib_buffer_t::CLIB_CACHE_LINE_ALIGN_MARK |
( |
cacheline2 |
| ) |
|
vlib_buffer_t::STRUCT_MARK |
( |
template_start |
| ) |
|
vlib_buffer_t::STRUCT_MARK |
( |
template_end |
| ) |
|
u32 vlib_buffer_t::current_config_index |
Used by feature subgraph arcs to visit enabled feature nodes.
Definition at line 116 of file buffer.h.
i16 vlib_buffer_t::current_data |
signed offset in data[], pre_data[] that we are currently processing.
If negative current header points into predata area.
Definition at line 68 of file buffer.h.
u16 vlib_buffer_t::current_length |
Nbytes between current data and the end of this buffer.
Definition at line 72 of file buffer.h.
u8 vlib_buffer_t::data[0] |
Packet data.
Hardware DMA here
Definition at line 157 of file buffer.h.
u8 vlib_buffer_t::dont_waste_me[2] |
Available space in the (precious) first 32 octets of buffer metadata Before allocating any of it, discussion required!
Definition at line 126 of file buffer.h.
Error code for buffers to be enqueued to error handler.
Definition at line 113 of file buffer.h.
u8 vlib_buffer_t::feature_arc_index |
Used to identify feature arcs by intermediate feature node.
Definition at line 120 of file buffer.h.
buffer flags:
VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index,
VLIB_BUFFER_IS_TRACED: trace this buffer.
VLIB_BUFFER_NEXT_PRESENT: this is a multi-chunk buffer.
VLIB_BUFFER_TOTAL_LENGTH_VALID: as it says
VLIB_BUFFER_REPL_FAIL: packet replication failure
VLIB_BUFFER_RECYCLE: as it says
VLIB_BUFFER_FLOW_REPORT: buffer is a flow report,
VLIB_BUFFER_EXT_HDR_VALID: buffer contains valid external buffer manager header, set to avoid adding it to a flow report
VLIB_BUFFER_FLAG_USER(n): user-defined bit N
Definition at line 75 of file buffer.h.
u8 vlib_buffer_t::n_add_refs |
Number of additional references to this buffer.
Definition at line 124 of file buffer.h.
u32 vlib_buffer_t::next_buffer |
Next buffer for this linked-list of buffers.
Only valid if VLIB_BUFFER_NEXT_PRESENT flag is set.
Definition at line 109 of file buffer.h.
u32 vlib_buffer_t::opaque[10] |
Opaque data used by sub-graphs for their own purposes.
See .../vnet/vnet/buffer.h
Definition at line 131 of file buffer.h.
u32 vlib_buffer_t::opaque2[13] |
More opaque data, currently unused.
Definition at line 145 of file buffer.h.
Space for inserting data before buffer start.
Packet rewrite string will be rewritten backwards and may extend back before buffer->data[0]. Must come directly before packet data.
Definition at line 149 of file buffer.h.
u32 vlib_buffer_t::recycle_count |
Used by L2 path recycle code.
Definition at line 139 of file buffer.h.
u32 vlib_buffer_t::total_length_not_including_first_buffer |
Only valid for first buffer in chain.
Current length plus total length given here give total number of bytes in buffer chain.
Definition at line 141 of file buffer.h.
u32 vlib_buffer_t::trace_index |
Specifies index into trace buffer if VLIB_PACKET_IS_TRACED flag is set.
Definition at line 136 of file buffer.h.
The documentation for this struct was generated from the following file: