FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
random_buffer.h File Reference
+ Include dependency graph for random_buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_random_buffer_t
 

Functions

static void clib_random_buffer_free (clib_random_buffer_t *b)
 
void clib_random_buffer_fill (clib_random_buffer_t *b, uword n_words)
 
void clib_random_buffer_init (clib_random_buffer_t *b, uword seed)
 
static void * clib_random_buffer_get_data (clib_random_buffer_t *b, uword n_bytes)
 

Function Documentation

◆ clib_random_buffer_fill()

void clib_random_buffer_fill ( clib_random_buffer_t b,
uword  n_words 
)

Definition at line 42 of file random_buffer.c.

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

◆ clib_random_buffer_free()

static void clib_random_buffer_free ( clib_random_buffer_t b)
inlinestatic

Definition at line 65 of file random_buffer.h.

+ Here is the call graph for this function:

◆ clib_random_buffer_get_data()

static void* clib_random_buffer_get_data ( clib_random_buffer_t b,
uword  n_bytes 
)
inlinestatic

Definition at line 78 of file random_buffer.h.

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

◆ clib_random_buffer_init()

void clib_random_buffer_init ( clib_random_buffer_t b,
uword  seed 
)

Definition at line 62 of file random_buffer.c.

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