]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_attr.h
bgpd: Abstract bgp_static retrieving/setting from info pointer
[mirror_frr.git] / bgpd / bgp_attr.h
index 758db4a4471afeb34c1751b8dbec5cde30ba4d70..883b129136220645e80aa1d63947e4dbda0170c3 100644 (file)
@@ -144,6 +144,9 @@ struct attr {
        struct in6_addr mp_nexthop_global;
        struct in6_addr mp_nexthop_local;
 
+       /* ifIndex corresponding to mp_nexthop_local. */
+       ifindex_t nh_lla_ifindex;
+
        /* Extended Communities attribute. */
        struct ecommunity *ecommunity;
 
@@ -182,6 +185,9 @@ struct attr {
        /* Flag for default gateway extended community in EVPN */
        uint8_t default_gw;
 
+       /* NA router flag (R-bit) support in EVPN */
+       uint8_t router_flag;
+
        /* route tag */
        route_tag_t tag;
 
@@ -305,6 +311,9 @@ extern int bgp_mp_reach_parse(struct bgp_attr_parser_args *args,
                              struct bgp_nlri *);
 extern int bgp_mp_unreach_parse(struct bgp_attr_parser_args *args,
                                struct bgp_nlri *);
+extern bgp_attr_parse_ret_t
+bgp_attr_prefix_sid(int32_t tlength, struct bgp_attr_parser_args *args,
+                   struct bgp_nlri *mp_update);
 
 extern struct bgp_attr_encap_subtlv *
 encap_tlv_dup(struct bgp_attr_encap_subtlv *orig);