FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
gbp_policy_dpo.h File Reference
+ Include dependency graph for gbp_policy_dpo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gbp_policy_dpo_t_
 The GBP FWD DPO. More...
 

Typedefs

typedef struct gbp_policy_dpo_t_ gbp_policy_dpo_t
 The GBP FWD DPO. More...
 

Functions

void gbp_policy_dpo_add_or_lock (dpo_proto_t dproto, epg_id_t epg, u32 sw_if_index, dpo_id_t *dpo)
 
dpo_type_t gbp_policy_dpo_get_type (void)
 
static gbp_policy_dpo_tgbp_policy_dpo_get (index_t index)
 

Variables

vlib_node_registration_t ip4_gbp_policy_dpo_node
 (constructor) VLIB_REGISTER_NODE (ip4_gbp_policy_dpo_node) More...
 
vlib_node_registration_t ip6_gbp_policy_dpo_node
 (constructor) VLIB_REGISTER_NODE (ip6_gbp_policy_dpo_node) More...
 
vlib_node_registration_t gbp_policy_port_node
 (constructor) VLIB_REGISTER_NODE (gbp_policy_port_node) More...
 
dpo_type_t gbp_policy_dpo_type
 Types exposed for the Data-plane. More...
 
gbp_policy_dpo_tgbp_policy_dpo_pool
 DPO pool. More...
 

Typedef Documentation

◆ gbp_policy_dpo_t

The GBP FWD DPO.

Used in the L3 path to select the correct EPG uplink based on the source EPG.

Function Documentation

◆ gbp_policy_dpo_add_or_lock()

void gbp_policy_dpo_add_or_lock ( dpo_proto_t  dproto,
epg_id_t  epg,
u32  sw_if_index,
dpo_id_t dpo 
)

Definition at line 93 of file gbp_policy_dpo.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_policy_dpo_get()

static gbp_policy_dpo_t* gbp_policy_dpo_get ( index_t  index)
inlinestatic

Definition at line 73 of file gbp_policy_dpo.h.

+ Here is the caller graph for this function:

◆ gbp_policy_dpo_get_type()

dpo_type_t gbp_policy_dpo_get_type ( void  )

Definition at line 194 of file gbp_policy_dpo.c.

Variable Documentation

◆ gbp_policy_dpo_pool

gbp_policy_dpo_t* gbp_policy_dpo_pool

DPO pool.

Definition at line 27 of file gbp_policy_dpo.c.

◆ gbp_policy_dpo_type

dpo_type_t gbp_policy_dpo_type

Types exposed for the Data-plane.

Types exposed for the Data-plane.

Definition at line 32 of file gbp_policy_dpo.c.

◆ gbp_policy_port_node

vlib_node_registration_t gbp_policy_port_node

(constructor) VLIB_REGISTER_NODE (gbp_policy_port_node)

Definition at line 370 of file gbp_policy.c.

◆ ip4_gbp_policy_dpo_node

vlib_node_registration_t ip4_gbp_policy_dpo_node

(constructor) VLIB_REGISTER_NODE (ip4_gbp_policy_dpo_node)

Definition at line 413 of file gbp_policy_dpo.c.

◆ ip6_gbp_policy_dpo_node

vlib_node_registration_t ip6_gbp_policy_dpo_node

(constructor) VLIB_REGISTER_NODE (ip6_gbp_policy_dpo_node)

Definition at line 424 of file gbp_policy_dpo.c.