FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
cgn_bitmap.h File Reference
+ Include dependency graph for cgn_bitmap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define clib_bitmap_dup(v)   vec_dup(v)
 
#define clib_bitmap_free(v)   vec_free(v)
 
#define clib_bitmap_bytes(v)   vec_bytes(v)
 
#define clib_bitmap_zero(v)   vec_zero(v)
 
#define clib_bitmap_alloc(v, n_bits)   v = vec_new (uword, ((n_bits) + BITS (uword) - 1) / BITS (uword))
 

Functions

static uword cgn_clib_bitmap_set_no_check (uword *a, uword i)
 
static uword cgn_clib_bitmap_clear_no_check (uword *a, uword i)
 
static uword cgn_clib_bitmap_get_bits (uword *ai, u16 start, unsigned char num_bits)
 
static uword cgn_clib_bitmap_check_if_all (uword *ai, u16 start, i16 num_bits)
 

Macro Definition Documentation

#define clib_bitmap_alloc (   v,
  n_bits 
)    v = vec_new (uword, ((n_bits) + BITS (uword) - 1) / BITS (uword))

Definition at line 61 of file cgn_bitmap.h.

#define clib_bitmap_bytes (   v)    vec_bytes(v)

Definition at line 57 of file cgn_bitmap.h.

#define clib_bitmap_dup (   v)    vec_dup(v)

Definition at line 55 of file cgn_bitmap.h.

#define clib_bitmap_free (   v)    vec_free(v)

Definition at line 56 of file cgn_bitmap.h.

#define clib_bitmap_zero (   v)    vec_zero(v)

Definition at line 58 of file cgn_bitmap.h.

Function Documentation

static uword cgn_clib_bitmap_check_if_all ( uword ai,
u16  start,
i16  num_bits 
)
inlinestatic

Definition at line 110 of file cgn_bitmap.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword cgn_clib_bitmap_clear_no_check ( uword a,
uword  i 
)
inlinestatic

Definition at line 81 of file cgn_bitmap.h.

+ Here is the caller graph for this function:

static uword cgn_clib_bitmap_get_bits ( uword ai,
u16  start,
unsigned char  num_bits 
)
inlinestatic

Definition at line 97 of file cgn_bitmap.h.

+ Here is the caller graph for this function:

static uword cgn_clib_bitmap_set_no_check ( uword a,
uword  i 
)
inlinestatic

Definition at line 66 of file cgn_bitmap.h.

+ Here is the caller graph for this function: