FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
qos_mark.h File Reference
+ Include dependency graph for qos_mark.h:
+ This graph shows which files directly or indirectly include this file:

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 Documentation

◆ qos_mark_walk_cb_t

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.

Function Documentation

◆ qos_mark_disable()

int qos_mark_disable ( u32  sw_if_index,
qos_source_t  output_source 
)

Definition at line 103 of file qos_mark.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qos_mark_enable()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qos_mark_walk()

void qos_mark_walk ( qos_mark_walk_cb_t  fn,
void *  c 
)

Definition at line 121 of file qos_mark.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: