|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __GBP_VXLAN_H__
17 #define __GBP_VXLAN_H__
22 #define foreach_gbp_vxlan_tunnel_layer \
28 #define _(s,n) GBP_VXLAN_TUN_##s,
112 const ip46_address_t *
114 const ip46_address_t *
void gbp_vxlan_walk(gbp_vxlan_cb_t cb, void *ctx)
#define foreach_gbp_vxlan_tunnel_layer
ip46_address_t gt_src
The source address to use for child tunnels.
@ GBP_VXLAN_TEMPLATE_TUNNEL
This is the object type defined above.
u32 vxlan_gbp_tunnel_get_parent(u32 sw_if_index)
gbp_vxlan_tunnel_t * gbp_vxlan_tunnel_get(index_t gti)
u8 * format_gbp_vxlan_tunnel_layer(u8 *s, va_list *args)
gbp_vxlan_tunnel_layer_t_
int gbp_vxlan_tunnel_del(u32 vni)
enum gbp_vxlan_tunnel_layer_t_ gbp_vxlan_tunnel_layer_t
gbp_itf_hdl_t gt_itf
gbp-itf config for this interface
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
gbp_vxlan_tunnel_type_t gbp_vxlan_tunnel_get_type(u32 sw_if_index)
gbp_vxlan_tunnel_layer_t gt_layer
walk_rc_t(* gbp_vxlan_cb_t)(gbp_vxlan_tunnel_t *gt, void *ctx)
GBP VXLAN (template) tunnel.
gbp_vxlan_tunnel_type_t_
The different types of interfaces that endpoints are learned on.
struct gbp_vxlan_tunnel_t_ gbp_vxlan_tunnel_t
GBP VXLAN (template) tunnel.
index_t gt_gbd
Reference to the GPB-BD.
index_t gt_grd
References to the GBP-RD.
index_t * gt_tuns
list of child vxlan-gbp tunnels built from this template
@ VXLAN_GBP_TUNNEL
A real VXLAN-GBP tunnel (from vnet/vxlan-gbp/...)
u8 * format_gbp_vxlan_tunnel(u8 *s, va_list *args)
enum gbp_vxlan_tunnel_type_t_ gbp_vxlan_tunnel_type_t
The different types of interfaces that endpoints are learned on.
gbp_itf_hdl_t gbp_vxlan_tunnel_clone_and_lock(u32 parent_tunnel, const ip46_address_t *src, const ip46_address_t *dst)
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_itf_hdl_t vxlan_gbp_tunnel_lock_itf(u32 sw_if_index)
vl_api_interface_index_t sw_if_index
enum walk_rc_t_ walk_rc_t
Walk return code.
u32 gt_bd_rd_id
The BD or RD value (depending on the layer) that the tunnel is bound to.