FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
qos_api.c File Reference
+ Include dependency graph for qos_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_qos_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static int qos_source_decode (vl_api_qos_source_t v, qos_source_t *q)
 
void vl_api_qos_record_enable_disable_t_handler (vl_api_qos_record_enable_disable_t *mp)
 
void vl_api_qos_egress_map_update_t_handler (vl_api_qos_egress_map_update_t *mp)
 
void vl_api_qos_egress_map_delete_t_handler (vl_api_qos_egress_map_delete_t *mp)
 
void vl_api_qos_mark_enable_disable_t_handler (vl_api_qos_mark_enable_disable_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tqos_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (qos_api_hookup)
 

Macro Definition Documentation

◆ foreach_qos_api_msg

#define foreach_qos_api_msg
Value:
_(QOS_RECORD_ENABLE_DISABLE, qos_record_enable_disable) \
_(QOS_EGRESS_MAP_DELETE, qos_egress_map_delete) \
_(QOS_EGRESS_MAP_UPDATE, qos_egress_map_update) \
_(QOS_MARK_ENABLE_DISABLE, qos_mark_enable_disable)
void qos_egress_map_delete(qos_egress_map_id_t mid)
void qos_egress_map_update(qos_egress_map_id_t mid, qos_source_t input_source, qos_bits_t *values)
Add a qos-egress map to an interface.

Definition at line 45 of file qos_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 32 of file qos_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 144 of file qos_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 37 of file qos_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 38 of file qos_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 28 of file qos_api.c.

Function Documentation

◆ qos_api_hookup()

static clib_error_t* qos_api_hookup ( vlib_main_t vm)
static

Definition at line 157 of file qos_api.c.

+ Here is the call graph for this function:

◆ qos_source_decode()

static int qos_source_decode ( vl_api_qos_source_t  v,
qos_source_t q 
)
static

Definition at line 52 of file qos_api.c.

+ Here is the caller graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 149 of file qos_api.c.

+ Here is the caller graph for this function:

◆ vl_api_qos_egress_map_delete_t_handler()

void vl_api_qos_egress_map_delete_t_handler ( vl_api_qos_egress_map_delete_t mp)

Definition at line 112 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_egress_map_update_t_handler()

void vl_api_qos_egress_map_update_t_handler ( vl_api_qos_egress_map_update_t mp)

Definition at line 97 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_mark_enable_disable_t_handler()

void vl_api_qos_mark_enable_disable_t_handler ( vl_api_qos_mark_enable_disable_t mp)

Definition at line 124 of file qos_api.c.

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

◆ vl_api_qos_record_enable_disable_t_handler()

void vl_api_qos_record_enable_disable_t_handler ( vl_api_qos_record_enable_disable_t mp)

Definition at line 76 of file qos_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( qos_api_hookup  )
+ Here is the caller graph for this function: