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) |
|
VLIB_NODE_FN() | gbp_policy_port_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | gbp_policy_mac_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_gbp_policy_trace (u8 *s, va_list *args) |
|
#define foreach_gbp_policy |
Value:_(DENY, "deny") \
_(REFLECTION, "reflection")
Definition at line 22 of file gbp_policy_node.c.
Enumerator |
---|
GBP_POLICY_DROP |
|
GBP_POLICY_N_NEXT |
|
GBP_POLICY_NEXT_DROP |
|
GBP_POLICY_N_NEXT |
|
Definition at line 40 of file gbp_policy_node.c.
static u8* format_gbp_policy_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* gbp_policy_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_gbp_policy_error
Definition at line 34 of file gbp_policy_node.c.
Initial value:= {
.name = "gbp-policy-mac",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * gbp_policy_error_strings[]
static u8 * format_gbp_policy_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (gbp_policy_mac_node)
Definition at line 430 of file gbp_policy_node.c.
Initial value:= {
.name = "gbp-policy-port",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
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 415 of file gbp_policy_node.c.