Go to the source code of this file.
|
static uword | gbp_classify_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, gbp_src_classify_type_t type, dpo_proto_t dproto) |
|
static uword | gbp_src_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_null_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_ip4_src_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_ip6_src_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_gbp_classify_trace (u8 *s, va_list *args) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_null_classify_node, gbp_null_classify) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_src_classify_node, gbp_src_classify) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_ip4_src_classify_node, gbp_ip4_src_classify) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_ip6_src_classify_node, gbp_ip6_src_classify) |
|
| VNET_FEATURE_INIT (gbp_ip4_src_classify_feat_node, static) |
|
| VNET_FEATURE_INIT (gbp_ip6_src_classify_feat_node, static) |
|
static dpo_proto_t | ethertype_to_dpo_proto (const ethernet_header_t *eh0) |
|
static uword | gbp_lpm_classify_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, dpo_proto_t dproto, u8 is_recirc) |
|
static uword | gbp_ip4_lpm_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_ip6_lpm_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_l2_lpm_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_ip4_lpm_classify_node, gbp_ip4_lpm_classify) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_ip6_lpm_classify_node, gbp_ip6_lpm_classify) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_l2_lpm_classify_node, gbp_l2_lpm_classify) |
|
| VNET_FEATURE_INIT (gbp_ip4_lpm_classify_feat_node, static) |
|
| VNET_FEATURE_INIT (gbp_ip6_lpm_classify_feat_node, static) |
|
static clib_error_t * | gbp_src_classify_init (vlib_main_t *vm) |
|
Grouping of global data for the GBP source EPG classification feature.
Enumerator |
---|
GBP_SRC_CLASSIFY_NULL |
|
GBP_SRC_CLASSIFY_PORT |
|
GBP_SRC_CLASSIFY_LPM |
|
Definition at line 29 of file gbp_classify.c.
static u8* format_gbp_classify_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
VNET_FEATURE_INIT |
( |
gbp_ip4_src_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
gbp_ip6_src_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
gbp_ip4_lpm_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
gbp_ip6_lpm_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
Initial value:= {
.name = "ip4-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_ip4_lpm_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_ip4_lpm_classify_node)
Definition at line 515 of file gbp_classify.c.
Initial value:= {
.name = "ip4-gbp-src-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip4-lookup"
},
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_ip4_src_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_ip4_src_classify_node)
Definition at line 261 of file gbp_classify.c.
Initial value:= {
.name = "ip6-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_ip6_lpm_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_ip6_lpm_classify_node)
Definition at line 531 of file gbp_classify.c.
Initial value:= {
.name = "ip6-gbp-src-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip6-lookup"
},
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_ip6_src_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_ip6_src_classify_node)
Definition at line 277 of file gbp_classify.c.
Initial value:= {
.name = "l2-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_l2_lpm_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_l2_lpm_classify_node)
Definition at line 547 of file gbp_classify.c.
Initial value:= {
.name = "gbp-null-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_null_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_null_classify_node)
Definition at line 235 of file gbp_classify.c.
Initial value:= {
.name = "gbp-src-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
}
static u8 * format_gbp_classify_trace(u8 *s, va_list *args)
static uword gbp_src_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (gbp_src_classify_node)
Definition at line 248 of file gbp_classify.c.