FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
qos_store_node.c File Reference
+ Include dependency graph for qos_store_node.c:

Go to the source code of this file.

Data Structures

struct  qos_store_trace_t_
 per-packet trace data More...
 

Typedefs

typedef struct qos_store_trace_t_ qos_store_trace_t
 per-packet trace data More...
 

Functions

static u8format_qos_store_trace (u8 *s, va_list *args)
 
static uword qos_store_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, qos_source_t qos_src)
 
VLIB_NODE_FN() ip4_qos_store_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() ip6_qos_store_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VNET_FEATURE_INIT (ip4_qos_store_node, static)
 
 VNET_FEATURE_INIT (ip4m_qos_store_node, static)
 
 VNET_FEATURE_INIT (ip6_qos_store_node, static)
 
 VNET_FEATURE_INIT (ip6m_qos_store_node, static)
 

Variables

u8qos_store_configs [QOS_N_SOURCES]
 Per-interface, per-protocol vector of feature on/off configurations. More...
 
vlib_node_registration_t ip4_qos_store_node
 (constructor) VLIB_REGISTER_NODE (ip4_qos_store_node) More...
 
vlib_node_registration_t ip6_qos_store_node
 (constructor) VLIB_REGISTER_NODE (ip6_qos_store_node) More...
 

Typedef Documentation

◆ qos_store_trace_t

per-packet trace data

Function Documentation

◆ format_qos_store_trace()

static u8* format_qos_store_trace ( u8 s,
va_list *  args 
)
static

Definition at line 35 of file qos_store_node.c.

+ Here is the call graph for this function:

◆ ip4_qos_store_node()

VLIB_NODE_FN() ip4_qos_store_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 109 of file qos_store_node.c.

+ Here is the call graph for this function:

◆ ip6_qos_store_node()

VLIB_NODE_FN() ip6_qos_store_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 116 of file qos_store_node.c.

+ Here is the call graph for this function:

◆ qos_store_inline()

static uword qos_store_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
qos_source_t  qos_src 
)
inlinestatic

Definition at line 47 of file qos_store_node.c.

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

◆ VNET_FEATURE_INIT() [1/4]

VNET_FEATURE_INIT ( ip4_qos_store_node  ,
static   
)

◆ VNET_FEATURE_INIT() [2/4]

VNET_FEATURE_INIT ( ip4m_qos_store_node  ,
static   
)

◆ VNET_FEATURE_INIT() [3/4]

VNET_FEATURE_INIT ( ip6_qos_store_node  ,
static   
)

◆ VNET_FEATURE_INIT() [4/4]

VNET_FEATURE_INIT ( ip6m_qos_store_node  ,
static   
)

Variable Documentation

◆ ip4_qos_store_node

vlib_node_registration_t ip4_qos_store_node
Initial value:
= {
.name = "ip4-qos-store",
.vector_size = sizeof (u32),
.format_trace = format_qos_store_trace,
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip4-drop",
},
}
static u8 * format_qos_store_trace(u8 *s, va_list *args)
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123

(constructor) VLIB_REGISTER_NODE (ip4_qos_store_node)

Definition at line 125 of file qos_store_node.c.

◆ ip6_qos_store_node

vlib_node_registration_t ip6_qos_store_node
Initial value:
= {
.name = "ip6-qos-store",
.vector_size = sizeof (u32),
.format_trace = format_qos_store_trace,
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip6-drop",
},
}
static u8 * format_qos_store_trace(u8 *s, va_list *args)
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123

(constructor) VLIB_REGISTER_NODE (ip6_qos_store_node)

Definition at line 148 of file qos_store_node.c.

◆ qos_store_configs

u8* qos_store_configs[QOS_N_SOURCES]

Per-interface, per-protocol vector of feature on/off configurations.

Definition at line 32 of file qos_store.c.