|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __GBP_POLICY_DPO_H__
17 #define __GBP_POLICY_DPO_H__
index_t dpoi_index
the index of objects of that type
struct gbp_policy_dpo_t_ gbp_policy_dpo_t
The GBP FWD DPO.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
dpo_type_t dpoi_type
the type
gbp_policy_dpo_t * gbp_policy_dpo_pool
DPO pool.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
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)
dpo_type_t gbp_policy_dpo_get_type(void)
sclass_t gpd_sclass
SClass.
u32 gpd_sw_if_index
output sw_if_index
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
#define static_always_inline
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type()
vlib_node_registration_t ip4_gbp_policy_dpo_node
(constructor) VLIB_REGISTER_NODE (ip4_gbp_policy_dpo_node)
static const dpo_id_t * load_balance_get_bucket_i(const load_balance_t *lb, u32 bucket)
struct _vlib_node_registration vlib_node_registration_t
static u32 ip6_fib_table_fwding_lookup(u32 fib_index, const ip6_address_t *dst)
vlib_node_registration_t ip6_gbp_policy_dpo_node
(constructor) VLIB_REGISTER_NODE (ip6_gbp_policy_dpo_node)
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
dpo_proto_t gpd_proto
The protocol of packets using this DPO.
gbp_scope_t gpd_scope
sclass scope
static load_balance_t * load_balance_get(index_t lbi)
static gbp_policy_dpo_t * gbp_policy_dpo_get(index_t index)
const static_always_inline gbp_policy_dpo_t * gbp_classify_get_gpd(const ip4_address_t *ip4, const ip6_address_t *ip6, const u32 fib_index)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
dpo_type_t gbp_policy_dpo_type
Types exposed for the Data-plane.
static index_t ip4_fib_forwarding_lookup(u32 fib_index, const ip4_address_t *addr)
dpo_id_t gpd_dpo
Stacked DPO on DVR/ADJ of output interface.
vl_api_interface_index_t sw_if_index
vlib_node_registration_t gbp_policy_port_node
(constructor) VLIB_REGISTER_NODE (gbp_policy_port_node)
u16 gpd_locks
number of locks.