]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_nexthop.h
bgpd: Fix for large AS paths which are split into segments
[mirror_frr.git] / bgpd / bgp_nexthop.h
index ed772868eb00d3ecaa1012b4f97b1912e77f5d5c..a771bead230126778244e81c52a87f993420c5a7 100644 (file)
@@ -29,6 +29,7 @@
        (((nexthop_len) == 4 || (nexthop_len) == 12                            \
                  ? AF_INET                                                    \
                  : ((nexthop_len) == 16 || (nexthop_len) == 24                \
+                                    || (nexthop_len) == 32                    \
                                     || (nexthop_len) == 48                    \
                             ? AF_INET6                                        \
                             : AF_UNSPEC)))
@@ -52,6 +53,7 @@ struct bgp_nexthop_cache {
 #define BGP_NEXTHOP_PEER_NOTIFIED     (1 << 3)
 #define BGP_STATIC_ROUTE              (1 << 4)
 #define BGP_STATIC_ROUTE_EXACT_MATCH  (1 << 5)
+#define BGP_NEXTHOP_LABELED_VALID     (1 << 6)
 
        uint16_t change_flags;