16 #ifndef __GBP_VXLAN_H__ 17 #define __GBP_VXLAN_H__ 22 #define forecah_gbp_vxlan_tunnel_layer \ 28 #define _(s,n) GBP_VXLAN_TUN_##s, 112 const ip46_address_t *
114 const ip46_address_t *
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_
gbp_itf_hdl_t vxlan_gbp_tunnel_lock_itf(u32 sw_if_index)
ip46_address_t gt_src
The source address to use for child tunnels.
gbp_vxlan_tunnel_type_t_
The different types of interfaces that endpoints are learned on.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
int gbp_vxlan_tunnel_add(u32 vni, gbp_vxlan_tunnel_layer_t layer, u32 bd_rd_id, const ip4_address_t *src, u32 *sw_if_indexp)
gbp_vxlan_tunnel_t * gbp_vxlan_tunnel_get(index_t gti)
enum walk_rc_t_ walk_rc_t
Walk return code.
index_t * gt_tuns
list of child vxlan-gbp tunnels built from this template
gbp_itf_hdl_t gbp_vxlan_tunnel_clone_and_lock(u32 parent_tunnel, const ip46_address_t *src, const ip46_address_t *dst)
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)
walk_rc_t(* gbp_vxlan_cb_t)(gbp_vxlan_tunnel_t *gt, void *ctx)
gbp_itf_hdl_t gt_itf
gbp-itf config for this interface
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_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.
u32 vxlan_gbp_tunnel_get_parent(u32 sw_if_index)
vl_api_interface_index_t sw_if_index