FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
gbp_vxlan_tunnel_t_ Struct Reference

GBP VXLAN (template) tunnel. More...

Data Fields

u32 gt_hw_if_index
 
u32 gt_sw_if_index
 
u32 gt_vni
 
u32 gt_bd_rd_id
 The BD or RD value (depending on the layer) that the tunnel is bound to. More...
 
gbp_vxlan_tunnel_layer_t gt_layer
 
union {
   struct {
      u32   gt_bd_index
 BD index (if L2) More...
 
      index_t   gt_gbd
 Reference to the GPB-BD. More...
 
   } 
 
   struct {
      u32   gt_fib_index [FIB_PROTOCOL_IP_MAX]
 FIB inidices (if L3) More...
 
      index_t   gt_grd
 References to the GBP-RD. More...
 
   } 
 
}; 
 
index_t gt_itf
 gbp-itf config for this interface More...
 
index_tgt_tuns
 list of child vxlan-gbp tunnels built from this template More...
 
ip46_address_t gt_src
 The source address to use for child tunnels. More...
 

Detailed Description

GBP VXLAN (template) tunnel.

A template tunnel has only a VNI, it does not have src,dst address. As such it cannot be used to send traffic. It is used in the RX path to RX vxlan-gbp packets that do not match an existing tunnel;

Definition at line 38 of file gbp_vxlan.h.

Field Documentation

union { ... }
u32 gbp_vxlan_tunnel_t_::gt_bd_index

BD index (if L2)

Definition at line 57 of file gbp_vxlan.h.

u32 gbp_vxlan_tunnel_t_::gt_bd_rd_id

The BD or RD value (depending on the layer) that the tunnel is bound to.

Definition at line 47 of file gbp_vxlan.h.

u32 gbp_vxlan_tunnel_t_::gt_fib_index[FIB_PROTOCOL_IP_MAX]

FIB inidices (if L3)

Definition at line 68 of file gbp_vxlan.h.

index_t gbp_vxlan_tunnel_t_::gt_gbd

Reference to the GPB-BD.

Definition at line 61 of file gbp_vxlan.h.

index_t gbp_vxlan_tunnel_t_::gt_grd

References to the GBP-RD.

Definition at line 72 of file gbp_vxlan.h.

u32 gbp_vxlan_tunnel_t_::gt_hw_if_index

Definition at line 40 of file gbp_vxlan.h.

index_t gbp_vxlan_tunnel_t_::gt_itf

gbp-itf config for this interface

Definition at line 79 of file gbp_vxlan.h.

gbp_vxlan_tunnel_layer_t gbp_vxlan_tunnel_t_::gt_layer

Definition at line 48 of file gbp_vxlan.h.

ip46_address_t gbp_vxlan_tunnel_t_::gt_src

The source address to use for child tunnels.

Definition at line 89 of file gbp_vxlan.h.

u32 gbp_vxlan_tunnel_t_::gt_sw_if_index

Definition at line 41 of file gbp_vxlan.h.

index_t* gbp_vxlan_tunnel_t_::gt_tuns

list of child vxlan-gbp tunnels built from this template

Definition at line 84 of file gbp_vxlan.h.

u32 gbp_vxlan_tunnel_t_::gt_vni

Definition at line 42 of file gbp_vxlan.h.


The documentation for this struct was generated from the following file: