summaryrefslogtreecommitdiff
path: root/common/sock_any.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-04 00:05:08 +0000
committerStef Walter <stef@memberwebs.com>2004-09-04 00:05:08 +0000
commit557769cc1da3e633f00d2d80c368482e0501b5fd (patch)
tree0e957cc91ba9113c00ac8f18b71191c8e5bce2b2 /common/sock_any.h
parent9b288451c618394ae35b11206043b69ca1620b6d (diff)
Transparent proxy support.
Diffstat (limited to 'common/sock_any.h')
-rw-r--r--common/sock_any.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/sock_any.h b/common/sock_any.h
index 0b492b4..9fcb128 100644
--- a/common/sock_any.h
+++ b/common/sock_any.h
@@ -82,7 +82,9 @@ int sock_any_pton(const char* addr, struct sockaddr_any* any, int opts);
int sock_any_ntop(struct sockaddr_any* any, char* addr, size_t addrlen, int opts);
-/* Don't print the port */
+/* Don't print or compare the port */
#define SANY_OPT_NOPORT 0x01000000
+int sock_any_cmp(struct sockaddr_any* a1, struct sockaddr_any* a2, int opts);
+
#endif /* __SOCK_ANY_H__ */