FD.io VPP
v19.04-6-g6f05f72
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) |
static clib_error_t * | qos_mark_cli (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 |
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.
Definition at line 37 of file qos_mark.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_interface_command)
Definition at line 173 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.