FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
mask_compare.h File Reference
+ Include dependency graph for mask_compare.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static_always_inline u64 clib_mask_compare_u16_x64 (u16 v, u16 *a, u32 n_elts)
 
static_always_inline void clib_mask_compare_u16 (u16 v, u16 *a, u64 *mask, u32 n_elts)
 Compare 16-bit elemments with provied value and return bitmap. More...
 
static_always_inline u64 clib_mask_compare_u32_x64 (u32 v, u32 *a, u32 n_elts)
 
static_always_inline void clib_mask_compare_u32 (u32 v, u32 *a, u64 *bitmap, u32 n_elts)
 Compare 32-bit elemments with provied value and return bitmap. More...
 

Function Documentation

◆ clib_mask_compare_u16()

static_always_inline void clib_mask_compare_u16 ( u16  v,
u16 a,
u64 mask,
u32  n_elts 
)

Compare 16-bit elemments with provied value and return bitmap.

Parameters
vvalue to compare elements with
aarray of u16 elements
maskarray of u64 where reuslting mask will be stored
n_eltsnumber of elements in the array
Returns
none

Definition at line 67 of file mask_compare.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mask_compare_u16_x64()

static_always_inline u64 clib_mask_compare_u16_x64 ( u16  v,
u16 a,
u32  n_elts 
)

Definition at line 11 of file mask_compare.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mask_compare_u32()

static_always_inline void clib_mask_compare_u32 ( u32  v,
u32 a,
u64 bitmap,
u32  n_elts 
)

Compare 32-bit elemments with provied value and return bitmap.

Parameters
vvalue to compare elements with
aarray of u32 elements
maskarray of u64 where reuslting mask will be stored
n_eltsnumber of elements in the array
Returns
none

Definition at line 151 of file mask_compare.h.

+ Here is the call graph for this function:

◆ clib_mask_compare_u32_x64()

static_always_inline u64 clib_mask_compare_u32_x64 ( u32  v,
u32 a,
u32  n_elts 
)

Definition at line 83 of file mask_compare.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: