]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_vnc_types.h
Merge pull request #5717 from pguibert6WIND/flowspec_issue_redistribute
[mirror_frr.git] / bgpd / bgp_vnc_types.h
index 8bc9cb6407cf79aa4af4cb30aa105b2ec1ea1b9d..f4202ff75e9f1728c69a6f354031d8e182d50128 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Copyright 2015-2016, LabN Consulting, L.L.C.
  *
  * This program is free software; you can redistribute it and/or
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _QUAGGA_BGP_VNC_TYPES_H
 
 #if ENABLE_BGP_VNC
 typedef enum {
-    BGP_VNC_SUBTLV_TYPE_LIFETIME=1,
-    BGP_VNC_SUBTLV_TYPE_RFPOPTION=2,    /* deprecated */
+       BGP_VNC_SUBTLV_TYPE_LIFETIME = 1,
+       BGP_VNC_SUBTLV_TYPE_RFPOPTION = 2, /* deprecated */
 } bgp_vnc_subtlv_types;
 
-/*
- * VNC Attribute subtlvs
- */
-struct bgp_vnc_subtlv_lifetime {
-    uint32_t   lifetime;
-};
-
-struct bgp_vnc_subtlv_unaddr {
-    struct prefix      un_address;     /* IPv4 or IPv6; pfx length ignored */
-};
-
-#endif  /* ENABLE_BGP_VNC */
+#endif /* ENABLE_BGP_VNC */
 #endif /* _QUAGGA_BGP_VNC_TYPES_H */