summaryrefslogtreecommitdiff
path: root/bgpd/bgp_ecommunity.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-08-19 12:50:29 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-08-19 12:50:29 +0300
commit2d7cdc5b2282e8114c59d8ad795b8c9f19bb8bb7 (patch)
treeca46c8bcba88bce24cbe4062253cea09c7148492 /bgpd/bgp_ecommunity.h
parent2c61dd7313980ee961a03fa5650e2f537f3cb5e0 (diff)
bgpd: Rename ecomm_intersect() to ecommunity_include()
Makes more sense. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_ecommunity.h')
-rw-r--r--bgpd/bgp_ecommunity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_ecommunity.h b/bgpd/bgp_ecommunity.h
index f22855c329..84e310c3f9 100644
--- a/bgpd/bgp_ecommunity.h
+++ b/bgpd/bgp_ecommunity.h
@@ -257,6 +257,7 @@ extern struct ecommunity *ecommunity_str2com_ipv6(const char *str, int type,
int keyword_included);
extern char *ecommunity_ecom2str(struct ecommunity *, int, int);
extern void ecommunity_strfree(char **s);
+extern bool ecommunity_include(struct ecommunity *e1, struct ecommunity *e2);
extern bool ecommunity_match(const struct ecommunity *,
const struct ecommunity *);
extern char *ecommunity_str(struct ecommunity *);