FD.io VPP  v21.01.1
Vector Packet Processing
svmdbtool.c File Reference
+ Include dependency graph for svmdbtool.c:

Go to the source code of this file.

Data Structures

struct  svmdbtool_main_t
 

Functions

static svmdb_map_args_tmap_arg_setup (char *chroot_path)
 
static void get_string (char *chroot_path, u8 *vbl)
 
static void set_string (char *chroot_path, u8 *vbl, u8 *value)
 
static void unset_string (char *chroot_path, u8 *vbl)
 
static void dump_strings (char *chroot_path)
 
static void serialize_strings (char *chroot_path, char *filename)
 
static void unserialize_strings (char *chroot_path, char *filename)
 
static void test_vlib_vec_rate (char *chroot_path, f64 vr)
 
static void test_vec (char *chroot_path, u8 *vbl)
 
static void fake_install (char *chroot_path, u8 *add_value)
 
static void sigaction_handler (int signum, siginfo_t *i, void *notused)
 
static void test_reg (char *chroot_path, u8 *vbl)
 
static void unset_vec (char *chroot_path, u8 *vbl)
 
static void dump_vecs (char *chroot_path)
 
static void crash_test (char *chroot_path)
 
static void map_with_size (char *chroot_path, uword size)
 
int main (int argc, char **argv)
 

Variables

svmdbtool_main_t svmdbtool_main
 

Function Documentation

◆ crash_test()

static void crash_test ( char *  chroot_path)
static

Definition at line 333 of file svmdbtool.c.

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

◆ dump_strings()

static void dump_strings ( char *  chroot_path)
static

Definition at line 110 of file svmdbtool.c.

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

◆ dump_vecs()

static void dump_vecs ( char *  chroot_path)
static

Definition at line 319 of file svmdbtool.c.

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

◆ fake_install()

static void fake_install ( char *  chroot_path,
u8 add_value 
)
static

Definition at line 195 of file svmdbtool.c.

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

◆ get_string()

static void get_string ( char *  chroot_path,
u8 vbl 
)
static

Definition at line 66 of file svmdbtool.c.

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

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 365 of file svmdbtool.c.

+ Here is the call graph for this function:

◆ map_arg_setup()

static svmdb_map_args_t* map_arg_setup ( char *  chroot_path)
inlinestatic

Definition at line 52 of file svmdbtool.c.

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

◆ map_with_size()

static void map_with_size ( char *  chroot_path,
uword  size 
)
static

Definition at line 351 of file svmdbtool.c.

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

◆ serialize_strings()

static void serialize_strings ( char *  chroot_path,
char *  filename 
)
static

Definition at line 123 of file svmdbtool.c.

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

◆ set_string()

static void set_string ( char *  chroot_path,
u8 vbl,
u8 value 
)
static

Definition at line 84 of file svmdbtool.c.

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

◆ sigaction_handler()

static void sigaction_handler ( int  signum,
siginfo_t *  i,
void *  notused 
)
static

Definition at line 248 of file svmdbtool.c.

+ Here is the caller graph for this function:

◆ test_reg()

static void test_reg ( char *  chroot_path,
u8 vbl 
)
static

Definition at line 261 of file svmdbtool.c.

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

◆ test_vec()

static void test_vec ( char *  chroot_path,
u8 vbl 
)
static

Definition at line 171 of file svmdbtool.c.

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

◆ test_vlib_vec_rate()

static void test_vlib_vec_rate ( char *  chroot_path,
f64  vr 
)
static

Definition at line 149 of file svmdbtool.c.

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

◆ unserialize_strings()

static void unserialize_strings ( char *  chroot_path,
char *  filename 
)
static

Definition at line 136 of file svmdbtool.c.

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

◆ unset_string()

static void unset_string ( char *  chroot_path,
u8 vbl 
)
static

Definition at line 97 of file svmdbtool.c.

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

◆ unset_vec()

static void unset_vec ( char *  chroot_path,
u8 vbl 
)
static

Definition at line 305 of file svmdbtool.c.

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

Variable Documentation

◆ svmdbtool_main

svmdbtool_main_t svmdbtool_main

Definition at line 49 of file svmdbtool.c.