16 #ifndef __GBP_VXLAN_H__ 17 #define __GBP_VXLAN_H__ 21 #define forecah_gbp_vxlan_tunnel_layer \ 27 #define _(s,n) GBP_VXLAN_TUN_##s, 112 const ip46_address_t *
src,
113 const ip46_address_t *
dst);
A real VXLAN-GBP tunnel (from vnet/vxlan-gbp/...)
int gbp_vxlan_tunnel_del(u32 vni)
gbp_vxlan_tunnel_type_t gbp_vxlan_tunnel_get_type(u32 sw_if_index)
gbp_vxlan_tunnel_layer_t_
int gbp_vxlan_tunnel_add(u32 vni, gbp_vxlan_tunnel_layer_t layer, u32 bd_rd_id, u32 *sw_if_indexp)
gbp_vxlan_tunnel_type_t_
The different types of interfaces that endpoints are learned on.
#define FIB_PROTOCOL_IP_MAX
Definition outside of enum so it does not need to be included in non-defaulted switch statements...
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u32 gbp_vxlan_tunnel_clone_and_lock(u32 parent_tunnel, const ip46_address_t *src, const ip46_address_t *dst)
enum walk_rc_t_ walk_rc_t
Walk return code.
index_t * gt_tuns
list of child vxlan-gbp tunnels built from this template
void vxlan_gbp_tunnel_unlock(u32 sw_if_index)
u8 * format_gbp_vxlan_tunnel(u8 *s, va_list *args)
void gbp_vxlan_walk(gbp_vxlan_cb_t cb, void *ctx)
u8 * format_gbp_vxlan_tunnel_layer(u8 *s, va_list *args)
u32 gt_bd_index
BD index (if L2)
walk_rc_t(* gbp_vxlan_cb_t)(gbp_vxlan_tunnel_t *gt, void *ctx)
This is the object type deifend above.
#define forecah_gbp_vxlan_tunnel_layer
enum gbp_vxlan_tunnel_layer_t_ gbp_vxlan_tunnel_layer_t
gbp_vxlan_tunnel_layer_t gt_layer
index_t gt_gbd
Reference to the GPB-BD.
enum gbp_vxlan_tunnel_type_t_ gbp_vxlan_tunnel_type_t
The different types of interfaces that endpoints are learned on.
GBP VXLAN (template) tunnel.
struct gbp_vxlan_tunnel_t_ gbp_vxlan_tunnel_t
GBP VXLAN (template) tunnel.
index_t gt_itf
gbp-itf config for this interface
index_t gt_grd
References to the GBP-RD.
u32 gt_bd_rd_id
The BD or RD value (depending on the layer) that the tunnel is bound to.
void vxlan_gbp_tunnel_lock(u32 sw_if_index)
u32 vxlan_gbp_tunnel_get_parent(u32 sw_if_index)
u32 gt_fib_index[FIB_PROTOCOL_IP_MAX]
FIB inidices (if L3)