Go to the source code of this file.
|
static dpo_proto_t | ethertype_to_dpo_proto (u16 etype) |
|
static u32 | gbp_rule_l2_redirect (const gbp_rule_t *gu, vlib_buffer_t *b0) |
|
static u8 | gbp_policy_is_ethertype_allowed (const gbp_contract_t *gc0, u16 ethertype) |
|
static uword | gbp_policy_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 is_port_based) |
|
static uword | gbp_policy_port (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | gbp_policy_mac (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_gbp_policy_trace (u8 *s, va_list *args) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_policy_port_node, gbp_policy_port) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (gbp_policy_mac_node, gbp_policy_mac) |
|
static clib_error_t * | gbp_policy_init (vlib_main_t *vm) |
|
◆ foreach_gbp_policy
#define foreach_gbp_policy _(DENY, "deny") |
◆ gbp_policy_main_t
Grouping of global data for the GBP source EPG classification feature.
◆ gbp_policy_trace_t
◆ gbp_policy_error_t
Enumerator |
---|
GBP_POLICY_N_ERROR | |
Definition at line 37 of file gbp_policy.c.
◆ gbp_policy_next_t
Enumerator |
---|
GBP_POLICY_N_NEXT | |
GBP_POLICY_DROP | |
GBP_POLICY_N_NEXT | |
Definition at line 51 of file gbp_policy.c.
◆ ethertype_to_dpo_proto()
◆ format_gbp_policy_trace()
static u8* format_gbp_policy_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_policy_init()
◆ gbp_policy_inline()
◆ gbp_policy_is_ethertype_allowed()
◆ gbp_policy_mac()
◆ gbp_policy_port()
◆ gbp_rule_l2_redirect()
◆ VLIB_NODE_FUNCTION_MULTIARCH() [1/2]
◆ VLIB_NODE_FUNCTION_MULTIARCH() [2/2]
◆ gbp_policy_error_strings
char* gbp_policy_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_gbp_policy
Definition at line 45 of file gbp_policy.c.
◆ gbp_policy_mac_node
Initial value:= {
.name = "gbp-policy-mac",
.vector_size =
sizeof (
u32),
.sibling_of = "gbp-policy-port",
}
static uword gbp_policy_mac(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_gbp_policy_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_policy_mac_node)
Definition at line 389 of file gbp_policy.c.
◆ gbp_policy_main
◆ gbp_policy_port_node
Initial value:= {
.name = "gbp-policy-port",
.vector_size =
sizeof (
u32),
.next_nodes = {
[GBP_POLICY_NEXT_DENY] = "error-drop",
},
}
static uword gbp_policy_port(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * gbp_policy_error_strings[]
static u8 * format_gbp_policy_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_policy_port_node)
Definition at line 370 of file gbp_policy.c.