FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
vector header structure More...
Data Fields | |
u32 | len |
Number of elements in vector (NOT its allocated length). More... | |
u32 | dlmalloc_header_offset |
offset to memory allocator offset More... | |
u8 | vector_data [0] |
Vector data . More... | |
vector header structure
Bookkeeping header preceding vector elements in memory. User header information may preceed standard vec header. If you change u32 len -> u64 len, single vectors can exceed 2**32 elements. Clib heaps are vectors.
Definition at line 55 of file vec_bootstrap.h.
u32 vec_header_t::dlmalloc_header_offset |
offset to memory allocator offset
Definition at line 61 of file vec_bootstrap.h.
u32 vec_header_t::len |
Number of elements in vector (NOT its allocated length).
Definition at line 60 of file vec_bootstrap.h.
u8 vec_header_t::vector_data[0] |
Vector data .
Definition at line 63 of file vec_bootstrap.h.