Go to the source code of this file.
|
static void | gbp_learn_l2_cp (const gbp_learn_l2_t *gl2) |
|
static void | gbp_learn_l2_ip4_dp (const u8 *mac, const ip4_address_t *ip, u32 bd_index, u32 sw_if_index, sclass_t sclass, const ip4_address_t *outer_src, const ip4_address_t *outer_dst) |
|
static void | gbp_learn_l2_ip6_dp (const u8 *mac, const ip6_address_t *ip, u32 bd_index, u32 sw_if_index, sclass_t sclass, const ip4_address_t *outer_src, const ip4_address_t *outer_dst) |
|
static void | gbp_learn_l2_dp (const u8 *mac, u32 bd_index, u32 sw_if_index, sclass_t sclass, const ip4_address_t *outer_src, const ip4_address_t *outer_dst) |
|
static void | gbp_learn_get_outer (const ethernet_header_t *eh0, ip4_address_t *outer_src, ip4_address_t *outer_dst) |
|
VLIB_NODE_FN() | gbp_learn_l2_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_gbp_learn_l2_trace (u8 *s, va_list *args) |
|
static void | gbp_learn_l3_cp (const gbp_learn_l3_t *gl3) |
|
static void | gbp_learn_ip4_dp (const ip4_address_t *ip, u32 fib_index, u32 sw_if_index, sclass_t sclass, const ip4_address_t *outer_src, const ip4_address_t *outer_dst) |
|
static void | gbp_learn_ip6_dp (const ip6_address_t *ip, u32 fib_index, u32 sw_if_index, sclass_t sclass, const ip4_address_t *outer_src, const ip4_address_t *outer_dst) |
|
static uword | gbp_learn_l3 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, fib_protocol_t fproto) |
|
static u8 * | format_gbp_learn_l3_trace (u8 *s, va_list *args) |
|
VLIB_NODE_FN() | gbp_learn_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_learn_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (gbp_learn_ip4, static) |
|
| VNET_FEATURE_INIT (gbp_learn_ip6, static) |
|
◆ foreach_gbp_learn
#define foreach_gbp_learn _(DROP, "drop") |
◆ GBP_LEARN_DBG
#define GBP_LEARN_DBG |
( |
|
... | ) |
vlib_log_debug (gbp_learn_main.gl_logger, __VA_ARGS__); |
◆ gbp_learn_l2_t
◆ gbp_learn_l2_trace_t
◆ gbp_learn_l3_t
◆ gbp_learn_l3_trace_t
◆ gbp_learn_error_t
◆ gbp_learn_next_t
◆ format_gbp_learn_l2_trace()
static u8* format_gbp_learn_l2_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_gbp_learn_l3_trace()
static u8* format_gbp_learn_l3_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_learn_get_outer()
◆ gbp_learn_ip4_dp()
◆ gbp_learn_ip4_node()
◆ gbp_learn_ip6_dp()
◆ gbp_learn_ip6_node()
◆ gbp_learn_l2_cp()
◆ gbp_learn_l2_dp()
◆ gbp_learn_l2_ip4_dp()
◆ gbp_learn_l2_ip6_dp()
◆ gbp_learn_l2_node()
◆ gbp_learn_l3()
◆ gbp_learn_l3_cp()
◆ VNET_FEATURE_INIT() [1/2]
VNET_FEATURE_INIT |
( |
gbp_learn_ip4 |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/2]
VNET_FEATURE_INIT |
( |
gbp_learn_ip6 |
, |
|
|
static |
|
|
) |
| |
◆ gbp_learn_error_strings
char* gbp_learn_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_gbp_learn
Definition at line 41 of file gbp_learn_node.c.
◆ gbp_learn_ip4_node
Initial value:= {
.name = "gbp-learn-ip4",
.vector_size =
sizeof (
u32),
}
static u8 * format_gbp_learn_l3_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip4_node)
Definition at line 660 of file gbp_learn_node.c.
◆ gbp_learn_ip6_node
Initial value:= {
.name = "gbp-learn-ip6",
.vector_size =
sizeof (
u32),
}
static u8 * format_gbp_learn_l3_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_learn_ip6_node)
Definition at line 673 of file gbp_learn_node.c.
◆ gbp_learn_l2_node
Initial value:= {
.name = "gbp-learn-l2",
.vector_size =
sizeof (
u32),
.next_nodes = {
[GBP_LEARN_NEXT_DROP] = "error-drop",
},
}
static char * gbp_learn_error_strings[]
static u8 * format_gbp_learn_l2_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_learn_l2_node)
Definition at line 372 of file gbp_learn_node.c.