|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
23 u32 fl_len, track_index;
37 #define _(sym, str) str,
60 int i, have_enabled = 0;
85 u32 group = ~0, level = ~0;
99 else if (
unformat (line_input,
"group %d", &group))
101 else if (
unformat (line_input,
"level %d", &level))
121 if (group == ~0 || level == ~0)
141 .short_help =
"tcp [show] [debug group <N> level <N>]",
void tcp_evt_track_register(elog_track_t *et)
static void tcp_debug_show_groups(void)
#define clib_error_return(e, args...)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
u32 track_index_plus_one
Set to one when track has been added to main structure.
static vlib_cli_command_t tcp_debug_command
(constructor) VLIB_CLI_COMMAND (tcp_debug_command)
u8 grp_dbg_lvl[TCP_EVT_N_GRP]
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
tcp_dbg_main_t tcp_dbg_main
#define TCP_DEBUG_ALWAYS
Build debugging infra unconditionally.
vlib_global_main_t vlib_global_main
#define foreach_tcp_evt_grp
sll srl srl sll sra u16x4 i
#define VLIB_CLI_COMMAND(x,...)
static void tcp_debug_check_lc(void)
void vlib_cli_output(vlib_main_t *vm, char *fmt,...)
static clib_error_t * tcp_debug_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
static vlib_main_t * vlib_get_main(void)
__clib_export word elog_track_register(elog_main_t *em, elog_track_t *t)
register an event track
static const char * tcp_evt_grp_str[]