FD.io VPP  v18.01.2-1-g9b554f3
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

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:

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:

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:

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: