FD.io VPP  v18.07-rc0-415-g6c78436
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

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

#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.

#define vl_endianfun   /* define message structures */

Definition at line 32 of file qos_api.c.

#define vl_msg_name_crc_list

Definition at line 118 of file qos_api.c.

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

Definition at line 37 of file qos_api.c.

#define vl_printfun

Definition at line 38 of file qos_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 28 of file qos_api.c.

Function Documentation

static clib_error_t* qos_api_hookup ( vlib_main_t vm)
static

Definition at line 131 of file qos_api.c.

+ Here is the call graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 123 of file qos_api.c.

+ Here is the caller graph for this function:

void vl_api_qos_egress_map_delete_t_handler ( vl_api_qos_egress_map_delete_t mp)

Definition at line 87 of file qos_api.c.

+ Here is the call graph for this function:

void vl_api_qos_egress_map_update_t_handler ( vl_api_qos_egress_map_update_t mp)

Definition at line 72 of file qos_api.c.

+ Here is the call graph for this function:

void vl_api_qos_mark_enable_disable_t_handler ( vl_api_qos_mark_enable_disable_t mp)

Definition at line 99 of file qos_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_api_qos_record_enable_disable_t_handler ( vl_api_qos_record_enable_disable_t mp)

Definition at line 52 of file qos_api.c.

+ Here is the call graph for this function:

VLIB_API_INIT_FUNCTION ( qos_api_hookup  )

+ Here is the caller graph for this function: