]> 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 c21654f3990af06f9214ecee6719f103776dc362..9efb34d7b92d980486ce0b91b9c34545da24e1f9 100644 (file)
@@ -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);