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, u8 is_l3) |
|
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 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 |
|
Definition at line 20 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 |
|
|
) |
| |
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 203 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 219 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 177 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 190 of file gbp_classify.c.