Go to the source code of this file.
|
static gbp_policy_dpo_t * | gbp_policy_dpo_alloc (void) |
|
static gbp_policy_dpo_t * | gbp_policy_dpo_get_from_dpo (const dpo_id_t *dpo) |
|
static index_t | gbp_policy_dpo_get_index (gbp_policy_dpo_t *gpd) |
|
static void | gbp_policy_dpo_lock (dpo_id_t *dpo) |
|
static void | gbp_policy_dpo_unlock (dpo_id_t *dpo) |
|
static u32 | gbp_policy_dpo_get_urpf (const dpo_id_t *dpo) |
|
void | gbp_policy_dpo_add_or_lock (dpo_proto_t dproto, gbp_scope_t scope, sclass_t sclass, u32 sw_if_index, dpo_id_t *dpo) |
|
u8 * | format_gbp_policy_dpo (u8 *s, va_list *ap) |
|
static void | gbp_policy_dpo_interpose (const dpo_id_t *original, const dpo_id_t *parent, dpo_id_t *clone) |
| Interpose a policy DPO. More...
|
|
dpo_type_t | gbp_policy_dpo_get_type (void) |
|
static clib_error_t * | gbp_policy_dpo_module_init (vlib_main_t *vm) |
|
static u32 | gbp_rule_l3_redirect (const gbp_rule_t *gu, vlib_buffer_t *b0, int is_ip6) |
|
static uword | gbp_policy_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ip6) |
|
VLIB_NODE_FN() | ip4_gbp_policy_dpo_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | ip6_gbp_policy_dpo_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
◆ gbp_policy_next_t
Enumerator |
---|
GBP_POLICY_DROP | |
GBP_POLICY_N_NEXT | |
GBP_POLICY_NEXT_DROP | |
GBP_POLICY_N_NEXT | |
Definition at line 225 of file gbp_policy_dpo.c.
◆ format_gbp_policy_dpo()
u8* format_gbp_policy_dpo |
( |
u8 * |
s, |
|
|
va_list * |
ap |
|
) |
| |
◆ gbp_policy_dpo_add_or_lock()
◆ gbp_policy_dpo_alloc()
◆ gbp_policy_dpo_get_from_dpo()
◆ gbp_policy_dpo_get_index()
◆ gbp_policy_dpo_get_type()
◆ gbp_policy_dpo_get_urpf()
static u32 gbp_policy_dpo_get_urpf |
( |
const dpo_id_t * |
dpo | ) |
|
|
static |
◆ gbp_policy_dpo_inline()
◆ gbp_policy_dpo_interpose()
◆ gbp_policy_dpo_lock()
static void gbp_policy_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
◆ gbp_policy_dpo_module_init()
◆ gbp_policy_dpo_unlock()
static void gbp_policy_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
◆ gbp_rule_l3_redirect()
◆ ip4_gbp_policy_dpo_node()
◆ ip6_gbp_policy_dpo_node()
◆ gbp_policy_dpo_ip4_nodes
const char* const gbp_policy_dpo_ip4_nodes[] |
|
static |
Initial value:= {
"ip4-gbp-policy-dpo",
}
The per-protocol VLIB graph nodes that are assigned to a glean object.
this means that these graph nodes are ones from which a glean is the parent object in the DPO-graph.
Definition at line 192 of file gbp_policy_dpo.c.
◆ gbp_policy_dpo_ip6_nodes
const char* const gbp_policy_dpo_ip6_nodes[] |
|
static |
◆ gbp_policy_dpo_nodes
Initial value:= {
}
static const char *const gbp_policy_dpo_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a glean object.
static const char *const gbp_policy_dpo_ip6_nodes[]
Definition at line 202 of file gbp_policy_dpo.c.
◆ gbp_policy_dpo_pool
◆ gbp_policy_dpo_type
DPO type registered for these GBP FWD.
Types exposed for the Data-plane.
Definition at line 36 of file gbp_policy_dpo.c.
◆ gbp_policy_dpo_vft
Initial value:= {
}
u8 * format_gbp_policy_dpo(u8 *s, va_list *ap)
static u32 gbp_policy_dpo_get_urpf(const dpo_id_t *dpo)
static void gbp_policy_dpo_lock(dpo_id_t *dpo)
static void gbp_policy_dpo_unlock(dpo_id_t *dpo)
static void gbp_policy_dpo_interpose(const dpo_id_t *original, const dpo_id_t *parent, dpo_id_t *clone)
Interpose a policy DPO.
Definition at line 177 of file gbp_policy_dpo.c.
◆ ip4_gbp_policy_dpo_node
Initial value:= {
.name = "ip4-gbp-policy-dpo",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
char * gbp_contract_error_strings[]
u8 * format_gbp_policy_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_gbp_policy_dpo_node)
Definition at line 384 of file gbp_policy_dpo.c.
◆ ip6_gbp_policy_dpo_node
Initial value:= {
.name = "ip6-gbp-policy-dpo",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
char * gbp_contract_error_strings[]
u8 * format_gbp_policy_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_gbp_policy_dpo_node)
Definition at line 398 of file gbp_policy_dpo.c.