FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
qos_api.c File Reference
+ Include dependency graph for qos_api.c:

Go to the source code of this file.

Data Structures

struct  qos_record_send_walk_ctx_t_
 
struct  qos_store_send_walk_ctx_t_
 
struct  qos_egress_map_send_walk_ctx_t_
 
struct  qos_mark_send_walk_ctx_t_
 

Macros

#define REPLY_MSG_ID_BASE   msg_id_base
 

Typedefs

typedef struct qos_record_send_walk_ctx_t_ qos_record_send_walk_ctx_t
 
typedef struct qos_store_send_walk_ctx_t_ qos_store_send_walk_ctx_t
 
typedef struct qos_egress_map_send_walk_ctx_t_ qos_egress_map_send_walk_ctx_t
 
typedef struct qos_mark_send_walk_ctx_t_ qos_mark_send_walk_ctx_t
 

Functions

static int qos_source_decode (vl_api_qos_source_t v, qos_source_t *q)
 
static vl_api_qos_source_t qos_source_encode (qos_source_t q)
 
void vl_api_qos_record_enable_disable_t_handler (vl_api_qos_record_enable_disable_t *mp)
 
static walk_rc_t send_qos_record_details (u32 sw_if_index, qos_source_t input_source, void *c)
 
static void vl_api_qos_record_dump_t_handler (vl_api_qos_record_dump_t *mp)
 
void vl_api_qos_store_enable_disable_t_handler (vl_api_qos_store_enable_disable_t *mp)
 
static walk_rc_t send_qos_store_details (u32 sw_if_index, qos_source_t input_source, qos_bits_t value, void *c)
 
static void vl_api_qos_store_dump_t_handler (vl_api_qos_store_dump_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)
 
static walk_rc_t send_qos_egress_map_details (qos_egress_map_id_t id, const qos_egress_map_t *m, void *c)
 
static void vl_api_qos_egress_map_dump_t_handler (vl_api_qos_egress_map_dump_t *mp)
 
void vl_api_qos_mark_enable_disable_t_handler (vl_api_qos_mark_enable_disable_t *mp)
 
static walk_rc_t send_qos_mark_details (u32 sw_if_index, u32 map_id, qos_source_t output_source, void *c)
 
static void vl_api_qos_mark_dump_t_handler (vl_api_qos_mark_dump_t *mp)
 
static clib_error_tqos_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (qos_api_hookup)
 

Variables

static u16 msg_id_base
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   msg_id_base

Definition at line 31 of file qos_api.c.

Typedef Documentation

◆ qos_egress_map_send_walk_ctx_t

◆ qos_mark_send_walk_ctx_t

◆ qos_record_send_walk_ctx_t

◆ qos_store_send_walk_ctx_t

Function Documentation

◆ qos_api_hookup()

static clib_error_t* qos_api_hookup ( vlib_main_t vm)
static

Definition at line 337 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 37 of file qos_api.c.

+ Here is the caller graph for this function:

◆ qos_source_encode()

static vl_api_qos_source_t qos_source_encode ( qos_source_t  q)
static

Definition at line 59 of file qos_api.c.

+ Here is the caller graph for this function:

◆ send_qos_egress_map_details()

static walk_rc_t send_qos_egress_map_details ( qos_egress_map_id_t  id,
const qos_egress_map_t m,
void *  c 
)
static

Definition at line 231 of file qos_api.c.

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

◆ send_qos_mark_details()

static walk_rc_t send_qos_mark_details ( u32  sw_if_index,
u32  map_id,
qos_source_t  output_source,
void *  c 
)
static

Definition at line 298 of file qos_api.c.

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

◆ send_qos_record_details()

static walk_rc_t send_qos_record_details ( u32  sw_if_index,
qos_source_t  input_source,
void *  c 
)
static

Definition at line 95 of file qos_api.c.

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

◆ send_qos_store_details()

static walk_rc_t send_qos_store_details ( u32  sw_if_index,
qos_source_t  input_source,
qos_bits_t  value,
void *  c 
)
static

Definition at line 161 of file qos_api.c.

+ Here is the call graph for this function:
+ 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 214 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_egress_map_dump_t_handler()

static void vl_api_qos_egress_map_dump_t_handler ( vl_api_qos_egress_map_dump_t mp)
static

Definition at line 254 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 198 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_mark_dump_t_handler()

static void vl_api_qos_mark_dump_t_handler ( vl_api_qos_mark_dump_t mp)
static

Definition at line 319 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 270 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_record_dump_t_handler()

static void vl_api_qos_record_dump_t_handler ( vl_api_qos_record_dump_t mp)
static

Definition at line 114 of file qos_api.c.

+ Here is the call 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 65 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_store_dump_t_handler()

static void vl_api_qos_store_dump_t_handler ( vl_api_qos_store_dump_t mp)
static

Definition at line 182 of file qos_api.c.

+ Here is the call graph for this function:

◆ vl_api_qos_store_enable_disable_t_handler()

void vl_api_qos_store_enable_disable_t_handler ( vl_api_qos_store_enable_disable_t mp)

Definition at line 130 of file qos_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( qos_api_hookup  )

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 34 of file qos_api.c.