diff options
author | Christian Franke <chris@opensourcerouting.org> | 2017-08-03 13:37:38 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2017-08-03 13:37:58 +0200 |
commit | 7a7761d21c9301bdfffc5f3faa2318819c6a0460 (patch) | |
tree | 66e239089521b512167c91c2c6c96680a64beff6 /lib/prefix.h | |
parent | isisd: make isis_spftree non-public (diff) | |
download | frr-7a7761d21c9301bdfffc5f3faa2318819c6a0460.tar.xz frr-7a7761d21c9301bdfffc5f3faa2318819c6a0460.zip |
lib: move prefix hash key to prefix.c to allow global use
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r-- | lib/prefix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index ce13dcfa0..4f1f0b22d 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -323,6 +323,8 @@ extern const char *inet6_ntoa(struct in6_addr); extern int prefix_str2mac(const char *str, struct ethaddr *mac); extern char *prefix_mac2str(const struct ethaddr *mac, char *buf, int size); +extern unsigned prefix_hash_key(void *pp); + static inline int ipv6_martian(struct in6_addr *addr) { struct in6_addr localhost_addr; |