]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_aspath.h
bgpd: Add `set as-path replace <any|ASN>` cmd for route-maps
[mirror_frr.git] / bgpd / bgp_aspath.h
index 4b1681816795868c32c2ccf3923de6001d2be10a..912db7b254aa411cfaebe79c975466b08b070c7b 100644 (file)
@@ -112,6 +112,8 @@ extern bool aspath_single_asn_check(struct aspath *, as_t asn);
 extern struct aspath *aspath_replace_specific_asn(struct aspath *aspath,
                                                  as_t target_asn,
                                                  as_t our_asn);
+extern struct aspath *aspath_replace_all_asn(struct aspath *aspath,
+                                            as_t our_asn);
 extern struct aspath *aspath_replace_private_asns(struct aspath *aspath,
                                                  as_t asn, as_t peer_asn);
 extern struct aspath *aspath_remove_private_asns(struct aspath *aspath,