FD.io VPP
v18.01-8-g0eacf49
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | sparse_vec_header_t |
Macros | |
#define | SPARSE_VEC_IS_RANGE (1 << 0) |
#define | SPARSE_VEC_IS_VALID_RANGE (1 << 1) |
#define | SPARSE_VEC_INVALID_INDEX (0) |
#define | sparse_vec_free(v) vec_free(v) |
#define | sparse_vec_elt_at_index(v, i) vec_elt_at_index ((v), sparse_vec_index ((v), (i))) |
#define | sparse_vec_validate(v, i) |
Functions | |
static sparse_vec_header_t * | sparse_vec_header (void *v) |
static void * | sparse_vec_new (uword elt_bytes, uword sparse_index_bits) |
static uword | sparse_vec_index_internal (void *v, uword sparse_index, uword maybe_range, u32 *insert) |
static uword | sparse_vec_index (void *v, uword sparse_index) |
static void | sparse_vec_index2 (void *v, u32 si0, u32 si1, u32 *i0_return, u32 *i1_return) |
#define sparse_vec_elt_at_index | ( | v, | |
i | |||
) | vec_elt_at_index ((v), sparse_vec_index ((v), (i))) |
Definition at line 211 of file sparse_vec.h.
Definition at line 209 of file sparse_vec.h.
#define SPARSE_VEC_INVALID_INDEX (0) |
Definition at line 68 of file sparse_vec.h.
#define SPARSE_VEC_IS_RANGE (1 << 0) |
Definition at line 54 of file sparse_vec.h.
#define SPARSE_VEC_IS_VALID_RANGE (1 << 1) |
Definition at line 55 of file sparse_vec.h.
Definition at line 214 of file sparse_vec.h.
|
inlinestatic |
Definition at line 60 of file sparse_vec.h.
Definition at line 152 of file sparse_vec.h.
|
inlinestatic |
Definition at line 160 of file sparse_vec.h.
|
inlinestatic |
Definition at line 101 of file sparse_vec.h.
Definition at line 71 of file sparse_vec.h.