FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
void | qos_mark_ip_enable_disable (u32 sw_if_index, u8 enable) |
void | qos_mark_vlan_enable_disable (u32 sw_if_index, u8 enable) |
void | qos_mark_mpls_enable_disable (u32 sw_if_index, u8 enable) |
static void | qos_egress_map_feature_config (u32 sw_if_index, qos_source_t qs, u8 enable) |
int | qos_mark_enable (u32 sw_if_index, qos_source_t output_source, qos_egress_map_id_t mid) |
enable QoS marking by associating a MAP with an interface. More... | |
int | qos_mark_disable (u32 sw_if_index, qos_source_t output_source) |
void | qos_mark_walk (qos_mark_walk_cb_t fn, void *c) |
static clib_error_t * | qos_mark_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
static void | qos_mark_show_one_interface (vlib_main_t *vm, u32 sw_if_index) |
static clib_error_t * | qos_mark_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
Variables | |
index_t * | qos_mark_configs [QOS_N_SOURCES] |
per-interface vector of which MAP is used by which interface for each output source More... | |
static vlib_cli_command_t | qos_egress_map_interface_command |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_interface_command) More... | |
static vlib_cli_command_t | qos_mark_show_command |
(constructor) VLIB_CLI_COMMAND (qos_mark_show_command) More... | |
|
static |
Definition at line 59 of file qos_mark.c.
|
static |
int qos_mark_disable | ( | u32 | sw_if_index, |
qos_source_t | output_source | ||
) |
Definition at line 103 of file qos_mark.c.
int qos_mark_enable | ( | u32 | sw_if_index, |
qos_source_t | output_source, | ||
qos_egress_map_id_t | tid | ||
) |
enable QoS marking by associating a MAP with an interface.
The output_source specifies which protocol/header the QoS value will be written into
Definition at line 79 of file qos_mark.c.
Definition at line 28 of file qos_mark.c.
Definition at line 52 of file qos_mark.c.
|
static |
|
static |
Definition at line 200 of file qos_mark.c.
Definition at line 37 of file qos_mark.c.
void qos_mark_walk | ( | qos_mark_walk_cb_t | fn, |
void * | c | ||
) |
Definition at line 121 of file qos_mark.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_interface_command)
Definition at line 191 of file qos_mark.c.
index_t* qos_mark_configs[QOS_N_SOURCES] |
per-interface vector of which MAP is used by which interface for each output source
Definition at line 25 of file qos_mark.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_mark_show_command)
Definition at line 275 of file qos_mark.c.