]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/prefix.h
bgpd: RFC compliance wrt invalid RMAC, GWIP, ESI and VNI
[mirror_frr.git] / lib / prefix.h
index fb80c4ca6cab9430f7bc3ceeb6b00ce49a1a5a91..b01f7d1fdc96c4ed4df410615228dddcd454fbad 100644 (file)
@@ -470,6 +470,8 @@ extern void masklen2ip6(const int, struct in6_addr *);
 extern const char *inet6_ntoa(struct in6_addr);
 
 extern int is_zero_mac(const struct ethaddr *mac);
+extern bool is_mcast_mac(const struct ethaddr *mac);
+extern bool is_bcast_mac(const struct ethaddr *mac);
 extern int prefix_str2mac(const char *str, struct ethaddr *mac);
 extern char *prefix_mac2str(const struct ethaddr *mac, char *buf, int size);