FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef walk_rc_t(* | qos_mark_walk_cb_t) (u32 sw_if_index, u32 map_id, qos_source_t input_source, void *ctx) |
Functions | |
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. 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) |
typedef walk_rc_t(* qos_mark_walk_cb_t) (u32 sw_if_index, u32 map_id, qos_source_t input_source, void *ctx) |
Definition at line 31 of file qos_mark.h.
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.
void qos_mark_walk | ( | qos_mark_walk_cb_t | fn, |
void * | c | ||
) |
Definition at line 121 of file qos_mark.c.