summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index f9a39ded5..399f84397 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -49,6 +49,8 @@ typedef struct in_addr insp_inaddr;
#endif
+bool MatchCIDRBits(unsigned char* address, unsigned char* mask, unsigned int mask_bits);
+
const char* insp_ntoa(insp_inaddr n);
int insp_aton(const char* a, insp_inaddr* n);