FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
buffer metadata change tracker More...
Go to the source code of this file.
Macros | |
#define | REPLY_MSG_ID_BASE mmp->msg_id_base |
#define | foreach_primary_metadata_field |
#define | foreach_opaque_metadata_field |
#define | foreach_opaque2_metadata_field |
Functions | |
static void | mdata_trace_callback (vlib_node_runtime_perf_callback_data_t *data, vlib_node_runtime_perf_callback_args_t *args) |
Metadata tracking callback before_or_after: 0 => before, 1=> after. More... | |
int | mdata_enable_disable (mdata_main_t *mmp, int enable_disable) |
static clib_error_t * | mdata_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
static void | vl_api_mdata_enable_disable_t_handler (vl_api_mdata_enable_disable_t *mp) |
static clib_error_t * | mdata_init (vlib_main_t *vm) |
VLIB_PLUGIN_REGISTER () | |
static u8 * | format_buffer_metadata_changes (u8 *s, va_list *args) |
static clib_error_t * | show_metadata_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
Variables | |
mdata_main_t | mdata_main |
static mdata_t | mdata_none |
static vlib_cli_command_t | mdata_enable_disable_command |
(constructor) VLIB_CLI_COMMAND (mdata_enable_disable_command) More... | |
static vlib_cli_command_t | show_metadata_command |
(constructor) VLIB_CLI_COMMAND (show_metadata_command) More... | |
buffer metadata change tracker
Definition in file mdata.c.
#define foreach_opaque2_metadata_field |
#define foreach_primary_metadata_field |
#define REPLY_MSG_ID_BASE mmp->msg_id_base |
int mdata_enable_disable | ( | mdata_main_t * | mmp, |
int | enable_disable | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |
(constructor) VLIB_CLI_COMMAND (mdata_enable_disable_command)
mdata_main_t mdata_main |
|
static |
(constructor) VLIB_CLI_COMMAND (show_metadata_command)