FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
__clib_export uword | unformat_bitmap_mask (unformat_input_t *input, va_list *va) |
unformat an any sized hexadecimal bitmask into a bitmap More... | |
__clib_export uword | unformat_bitmap_list (unformat_input_t *input, va_list *va) |
unformat a list of bit ranges into a bitmap (eg "0-3,5-7,11" ) More... | |
__clib_export u8 * | format_bitmap_hex (u8 *s, va_list *args) |
Format a bitmap as a string of hex bytes. More... | |
__clib_export u8 * | format_bitmap_list (u8 *s, va_list *args) |
Format a bitmap as a list. More... | |
Format a bitmap as a string of hex bytes.
uword * bitmap; s = format ("%U", format_bitmap_hex(), bitmap);
Standard format_function_t arguments
s | - string under construction |
args | - varargs list comprising a single uword * |
Definition at line 107 of file bitmap.c.
Format a bitmap as a list.
uword * bitmap; s = format ("%U", format_bitmap_list(), bitmap);
Standard format_function_t arguments
s | - string under construction |
args | - varargs list comprising a single uword * |
Definition at line 143 of file bitmap.c.
__clib_export uword unformat_bitmap_list | ( | unformat_input_t * | input, |
va_list * | va | ||
) |
unformat a list of bit ranges into a bitmap (eg "0-3,5-7,11" )
uword * bitmap; rv = unformat ("%U", unformat_bitmap_list(), &bitmap);
Standard unformat_function_t arguments
input | - pointer an unformat_input_t |
va | - varargs list comprising a single uword ** |
Definition at line 55 of file bitmap.c.
__clib_export uword unformat_bitmap_mask | ( | unformat_input_t * | input, |
va_list * | va | ||
) |
unformat an any sized hexadecimal bitmask into a bitmap
uword * bitmap; rv = unformat ("%U", unformat_bitmap_mask(), &bitmap);
Standard unformat_function_t arguments
input | - pointer an unformat_input_t |
va | - varargs list comprising a single uword ** |
Definition at line 20 of file bitmap.c.