u32 hw_if_index;
u32 sw_if_index;
- union { /* storage for the hash key */
- vxlan4_gpe_tunnel_key_t key4;
- vxlan6_gpe_tunnel_key_t key6;
- };
-
/* flags */
u32 flags;
} vxlan_gpe_tunnel_t;
/* Free vlib hw_if_indices */
u32 * free_vxlan_gpe_tunnel_hw_if_indices;
- /* show device instance by real device instance */
- u32 * dev_inst_by_real;
+ /* Mapping from sw_if_index to tunnel index */
+ u32 * tunnel_index_by_sw_if_index;
/* convenience */
vlib_main_t * vlib_main;