FD.io VPP  v20.09-64-g4f7b92f0a
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 70 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 83 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: