16 #ifndef __GBP_EXT_ITF_H__ 17 #define __GBP_EXT_ITF_H__ gbp_ext_itf_t * gbp_ext_itf_pool
Exposed types for the data-plane.
int gbp_ext_itf_add(u32 sw_if_index, u32 bd_id, u32 rd_id)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
enum walk_rc_t_ walk_rc_t
Walk return code.
walk_rc_t(* gbp_ext_itf_cb_t)(gbp_ext_itf_t *gbpe, void *ctx)
u32 gx_fib_index[DPO_PROTO_NUM]
cached FIB indices from the RD
index_t gx_bd
The BD this external interface is a member of.
struct gpb_ext_itf_t_ gbp_ext_itf_t
An external interface maps directly to an oflex L3ExternalInterface.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static gbp_ext_itf_t * gbp_ext_itf_get(u32 sw_if_index)
u8 * format_gbp_ext_itf(u8 *s, va_list *args)
An external interface maps directly to an oflex L3ExternalInterface.
void gbp_ext_itf_walk(gbp_ext_itf_cb_t bgpe, void *ctx)
index_t gx_rd
The RD this external interface is a member of.
int gbp_ext_itf_delete(u32 sw_if_index)
index_t * gbp_ext_itf_db
external interface configs keyed by sw_if_index