]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_vrf.h
zebra: VNI and VTEP handling
[mirror_frr.git] / zebra / zebra_vrf.h
index 790e2e53d28f587241cd94b5fceddfe72d6af47c..29f7df00fdff6c23083b98dbee9fc762bcc6eb22 100644 (file)
@@ -95,6 +95,15 @@ struct zebra_vrf
   u_int16_t mpls_flags;
 #define MPLS_FLAG_SCHEDULE_LSPS    (1 << 0)
 
+  /*
+   * VNI hash table (for EVPN). Only in default instance.
+   */
+  struct hash *vni_table;
+  /*
+   * Whether EVPN is enabled or not.
+   */
+  int advertise_all_vni;
+
   /* Route Installs */
   uint64_t installs;
   uint64_t removals;