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) |
|
VLIB_NODE_FN() | gbp_src_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_null_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_ip4_src_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_ip6_src_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_gbp_classify_trace (u8 *s, va_list *args) |
|
| VNET_FEATURE_INIT (gbp_ip4_src_classify_feat_node, static) |
|
| VNET_FEATURE_INIT (gbp_ip6_src_classify_feat_node, static) |
|
static void | gbp_classify_get_src_ip4_address (const ethernet_header_t *eh0, const ip4_address_t **ip4) |
|
static void | gbp_classify_get_src_ip6_address (const ethernet_header_t *eh0, const ip6_address_t **ip6) |
|
static void | gbp_classify_get_src_ip_address (const ethernet_header_t *eh0, const ip4_address_t **ip4, const ip6_address_t **ip6) |
|
static u8 * | format_gbp_lpm_classify_trace (u8 *s, va_list *args) |
|
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) |
|
VLIB_NODE_FN() | gbp_ip4_lpm_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_ip6_lpm_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_l2_lpm_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (gbp_ip4_lpm_classify_feat_node, static) |
|
| VNET_FEATURE_INIT (gbp_ip6_lpm_classify_feat_node, static) |
|
◆ gbp_classify_trace_t
◆ gbp_lpm_classify_next_t
◆ gbp_lpm_classify_trace_t
◆ gbp_lpm_classify_next_t_
◆ format_gbp_classify_trace()
static u8* format_gbp_classify_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_gbp_lpm_classify_trace()
static u8* format_gbp_lpm_classify_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_classify_get_src_ip4_address()
◆ gbp_classify_get_src_ip6_address()
◆ gbp_classify_get_src_ip_address()
◆ gbp_classify_inline()
◆ gbp_ip4_lpm_classify_node()
◆ gbp_ip4_src_classify_node()
◆ gbp_ip6_lpm_classify_node()
◆ gbp_ip6_src_classify_node()
◆ gbp_l2_lpm_classify_node()
◆ gbp_lpm_classify_inline()
◆ gbp_null_classify_node()
◆ gbp_src_classify_node()
◆ VNET_FEATURE_INIT() [1/4]
VNET_FEATURE_INIT |
( |
gbp_ip4_src_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/4]
VNET_FEATURE_INIT |
( |
gbp_ip6_src_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/4]
VNET_FEATURE_INIT |
( |
gbp_ip4_lpm_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [4/4]
VNET_FEATURE_INIT |
( |
gbp_ip6_lpm_classify_feat_node |
, |
|
|
static |
|
|
) |
| |
◆ gbp_ip4_lpm_classify_node
Initial value:= {
.name = "ip4-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_lpm_classify_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_ip4_lpm_classify_node)
Definition at line 583 of file gbp_classify_node.c.
◆ gbp_ip4_src_classify_node
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)
(constructor) VLIB_REGISTER_NODE (gbp_ip4_src_classify_node)
Definition at line 236 of file gbp_classify_node.c.
◆ gbp_ip6_lpm_classify_node
Initial value:= {
.name = "ip6-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_lpm_classify_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_ip6_lpm_classify_node)
Definition at line 596 of file gbp_classify_node.c.
◆ gbp_ip6_src_classify_node
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)
(constructor) VLIB_REGISTER_NODE (gbp_ip6_src_classify_node)
Definition at line 249 of file gbp_classify_node.c.
◆ gbp_l2_lpm_classify_node
Initial value:= {
.name = "l2-gbp-lpm-classify",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_gbp_lpm_classify_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_l2_lpm_classify_node)
Definition at line 609 of file gbp_classify_node.c.
◆ gbp_null_classify_node
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)
(constructor) VLIB_REGISTER_NODE (gbp_null_classify_node)
Definition at line 216 of file gbp_classify_node.c.
◆ gbp_src_classify_node
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)
(constructor) VLIB_REGISTER_NODE (gbp_src_classify_node)
Definition at line 226 of file gbp_classify_node.c.