Go to the source code of this file.
|
static void | qos_record_feature_config (u32 sw_if_index, qos_source_t input_source, u8 enable) |
|
int | qos_record_enable (u32 sw_if_index, qos_source_t input_source) |
|
int | qos_record_disable (u32 sw_if_index, qos_source_t input_source) |
|
static clib_error_t * | qos_record_ip_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (qos_record_ip_interface_add_del) |
|
static uword | qos_record_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, dpo_proto_t dproto, int is_l2) |
|
static u8 * | format_qos_record_trace (u8 *s, va_list *args) |
|
static uword | ip4_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | mpls_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | vlan_ip4_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | vlan_ip6_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | vlan_mpls_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | l2_ip_qos_record (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_qos_record_node, ip4_qos_record) |
|
| VNET_FEATURE_INIT (ip4_qos_record_node, static) |
|
| VNET_FEATURE_INIT (ip4m_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_qos_record_node, ip6_qos_record) |
|
| VNET_FEATURE_INIT (ip6_qos_record_node, static) |
|
| VNET_FEATURE_INIT (ip6m_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (mpls_qos_record_node, mpls_qos_record) |
|
| VNET_FEATURE_INIT (mpls_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (vlan_mpls_qos_record_node, vlan_mpls_qos_record) |
|
| VNET_FEATURE_INIT (vlan_mpls_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (vlan_ip4_qos_record_node, vlan_ip4_qos_record) |
|
| VNET_FEATURE_INIT (vlan_ip4_qos_record_node, static) |
|
| VNET_FEATURE_INIT (vlan_ip4m_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (vlan_ip6_qos_record_node, vlan_ip6_qos_record) |
|
| VNET_FEATURE_INIT (vlan_ip6_qos_record_node, static) |
|
| VNET_FEATURE_INIT (vlan_ip6m_qos_record_node, static) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (l2_ip_qos_record_node, l2_ip_qos_record) |
|
clib_error_t * | l2_ip_qos_init (vlib_main_t *vm) |
|
static clib_error_t * | qos_record_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8* format_qos_record_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void qos_record_feature_config |
( |
u32 |
sw_if_index, |
|
|
qos_source_t |
input_source, |
|
|
u8 |
enable |
|
) |
| |
|
static |
VNET_FEATURE_INIT |
( |
ip4m_qos_record_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
ip6m_qos_record_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
vlan_ip4m_qos_record_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
vlan_ip6m_qos_record_node |
, |
|
|
static |
|
|
) |
| |
Initial value:= {
.name = "ip4-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip4-drop",
},
}
static uword ip4_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_qos_record_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_qos_record_node)
Definition at line 317 of file qos_record.c.
Initial value:= {
.name = "ip6-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip6-drop",
},
}
static u8 * format_qos_record_trace(u8 *s, va_list *args)
static uword ip6_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip6_qos_record_node)
Definition at line 343 of file qos_record.c.
Initial value:= {
.name = "l2-ip-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static u8 * format_qos_record_trace(u8 *s, va_list *args)
static uword l2_ip_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (l2_ip_qos_record_node)
Definition at line 470 of file qos_record.c.
Initial value:= {
.name = "mpls-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "mpls-drop",
},
}
static uword mpls_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_qos_record_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mpls_qos_record_node)
Definition at line 369 of file qos_record.c.
Initial value:= {
.path = "qos record",
.short_help = "qos record <record-source> <INTERFACE> [disable]",
.is_mp_safe = 1,
}
static clib_error_t * qos_record_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (qos_record_command)
Definition at line 554 of file qos_record.c.
Per-interface, per-protocol vector of feature on/off configurations.
Definition at line 27 of file qos_record.c.
Initial value:= {
.name = "vlan-ip4-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip4-drop",
},
}
static u8 * format_qos_record_trace(u8 *s, va_list *args)
static uword vlan_ip4_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (vlan_ip4_qos_record_node)
Definition at line 414 of file qos_record.c.
Initial value:= {
.name = "vlan-ip6-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip6-drop",
},
}
static u8 * format_qos_record_trace(u8 *s, va_list *args)
static uword vlan_ip6_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (vlan_ip6_qos_record_node)
Definition at line 442 of file qos_record.c.
Initial value:= {
.name = "vlan-mpls-qos-record",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "mpls-drop",
},
}
static u8 * format_qos_record_trace(u8 *s, va_list *args)
static uword vlan_mpls_qos_record(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (vlan_mpls_qos_record_node)
Definition at line 391 of file qos_record.c.