]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_clist.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / bgpd / bgp_clist.h
index 50e4ed05f2e1f45080f02b818b823eb0c5827407..9efb34d7b92d980486ce0b91b9c34545da24e1f9 100644 (file)
@@ -1,22 +1,22 @@
 /* BGP Community list.
  Copyright (C) 1999 Kunihiro Ishiguro
-
-This file is part of GNU Zebra.
-
-GNU Zebra is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation; either version 2, or (at your option) any
-later version.
-
-GNU Zebra is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-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 GNU Zebra; see the file COPYING.  If not, write to the Free
-Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
* Copyright (C) 1999 Kunihiro Ishiguro
+ *
+ * This file is part of GNU Zebra.
+ *
+ * GNU Zebra is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2, or (at your option) any
+ * later version.
+ *
+ * GNU Zebra is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 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; 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_CLIST_H
 #define _QUAGGA_BGP_CLIST_H
@@ -68,13 +68,13 @@ struct community_entry {
        struct community_entry *prev;
 
        /* Permit or deny.  */
-       u_char direct;
+       uint8_t direct;
 
        /* Standard or expanded.  */
-       u_char style;
+       uint8_t style;
 
        /* Any match.  */
-       u_char any;
+       uint8_t any;
 
        /* Community structure.  */
        union {
@@ -133,13 +133,13 @@ extern int community_list_set(struct community_list_handler *ch,
                              int style);
 extern int community_list_unset(struct community_list_handler *ch,
                                const char *name, const char *str, int direct,
-                               int style, int delete_all);
+                               int style);
 extern int extcommunity_list_set(struct community_list_handler *ch,
                                 const char *name, const char *str, int direct,
                                 int style);
 extern int extcommunity_list_unset(struct community_list_handler *ch,
                                   const char *name, const char *str,
-                                  int direct, int style, int delete_all);
+                                  int direct, int style);
 extern int lcommunity_list_set(struct community_list_handler *ch,
                               const char *name, const char *str, int direct,
                               int style);