summaryrefslogtreecommitdiff
path: root/lib/sockunion.h
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-06-20 06:24:03 +0800
committerDonald Lee <dlqs@gmx.com>2021-06-23 00:58:04 +0800
commit62510c0948d75512c8aa3debaebc960d1500c823 (patch)
tree18e50e4e7eeefb1536f8b61e1e7203faf0e955dc /lib/sockunion.h
parent8192b47173db1745091b3ea2575787b040cbd774 (diff)
lib: use in6addr comparator in test
Signed-off-by: Donald Lee <dlqs@gmx.com>
Diffstat (limited to 'lib/sockunion.h')
-rw-r--r--lib/sockunion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h
index 2cc80bb70f..9e6719ccf9 100644
--- a/lib/sockunion.h
+++ b/lib/sockunion.h
@@ -73,6 +73,7 @@ enum connect_result { connect_error, connect_success, connect_in_progress };
/* Prototypes. */
extern int str2sockunion(const char *, union sockunion *);
extern const char *sockunion2str(const union sockunion *, char *, size_t);
+int in6addr_cmp(const struct in6_addr *addr1, const struct in6_addr *addr2);
extern int sockunion_cmp(const union sockunion *, const union sockunion *);
extern int sockunion_same(const union sockunion *, const union sockunion *);
extern unsigned int sockunion_hash(const union sockunion *);