FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Host utility functions. More...
Go to the source code of this file.
Functions | |
u32 | vl (void *p) |
GDB callable function: vl - Return vector length of vector. More... | |
uword | pe (void *v) |
GDB callable function: pe - call pool_elts - number of elements in a pool. More... | |
int | pifi (void *p, u32 index) |
GDB callable function: pifi - call pool_is_free_index - is passed index free? More... | |
void | debug_hex_bytes (u8 *s, u32 n) |
GDB callable function: debug_hex_bytes - return formatted hex string. More... | |
void | vlib_dump_frame_ownership (void) |
GDB callable function: vlib_dump_frame_ownership. More... | |
void | vlib_runtime_index_to_node_name (u32 index) |
GDB callable function: vlib_runtime_index_to_node_name. More... | |
void | gdb_show_errors (int verbose) |
void | gdb_show_session (int verbose) |
static int | trace_cmp (void *a1, void *a2) |
void | gdb_show_traces () |
static clib_error_t * | show_gdb_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
GDB callable function: show_gdb_command_fn - show gdb. More... | |
vnet_buffer_opaque_t * | vb (void *vb_arg) |
vnet_buffer_opaque2_t * | vb2 (void *vb_arg) |
u32 | vbi (vlib_buffer_t *b) |
int | gdb_validate_buffer (vlib_buffer_t *b) |
clib_error_t * | gdb_func_init (vlib_main_t *vm) |
Variables | |
static vlib_cli_command_t | show_gdb_funcs_command |
(constructor) VLIB_CLI_COMMAND (show_gdb_funcs_command) More... | |
Host utility functions.
Definition in file gdb_funcs.c.
GDB callable function: debug_hex_bytes - return formatted hex string.
*s | - u8 |
n | - u32 - number of bytes to format |
Definition at line 77 of file gdb_funcs.c.
clib_error_t* gdb_func_init | ( | vlib_main_t * | vm | ) |
Definition at line 347 of file gdb_funcs.c.
void gdb_show_errors | ( | int | verbose | ) |
void gdb_show_session | ( | int | verbose | ) |
void gdb_show_traces | ( | ) |
int gdb_validate_buffer | ( | vlib_buffer_t * | b | ) |
uword pe | ( | void * | v | ) |
GDB callable function: pe - call pool_elts - number of elements in a pool.
*v | - void - address of pool |
Definition at line 49 of file gdb_funcs.c.
int pifi | ( | void * | p, |
u32 | index | ||
) |
GDB callable function: pifi - call pool_is_free_index - is passed index free?
*p | - void - address of pool |
*index | - u32 |
Definition at line 64 of file gdb_funcs.c.
|
static |
GDB callable function: show_gdb_command_fn - show gdb.
Shows list of functions for VPP available in GDB
Definition at line 269 of file gdb_funcs.c.
|
static |
vnet_buffer_opaque_t* vb | ( | void * | vb_arg | ) |
Definition at line 298 of file gdb_funcs.c.
vnet_buffer_opaque2_t* vb2 | ( | void * | vb_arg | ) |
Definition at line 309 of file gdb_funcs.c.
u32 vbi | ( | vlib_buffer_t * | b | ) |
Definition at line 320 of file gdb_funcs.c.
u32 vl | ( | void * | p | ) |
GDB callable function: vl - Return vector length of vector.
*p | - void - address of vector |
Definition at line 35 of file gdb_funcs.c.
void vlib_dump_frame_ownership | ( | void | ) |
GDB callable function: vlib_dump_frame_ownership.
Definition at line 87 of file gdb_funcs.c.
void vlib_runtime_index_to_node_name | ( | u32 | index | ) |
GDB callable function: vlib_runtime_index_to_node_name.
Takes node index and will return the node name.
index | - u32 |
Definition at line 129 of file gdb_funcs.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_gdb_funcs_command)
Definition at line 290 of file gdb_funcs.c.