FD.io VPP  v20.05.1-6-gf53edbc3b
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 334 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 111 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 320 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 196 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 67 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 366 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 53 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 352 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 124 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 85 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 249 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 262 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 172 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 150 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 137 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 98 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 306 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 50 of file svmdbtool.c.