summaryrefslogtreecommitdiff
path: root/lib/ipv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipv6.h')
-rw-r--r--lib/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ipv6.h b/lib/ipv6.h
index 845955f4..08ed5f88 100644
--- a/lib/ipv6.h
+++ b/lib/ipv6.h
@@ -22,6 +22,8 @@ typedef struct ipv4_addr {
#define _I2(a) ((a).addr[2])
#define _I3(a) ((a).addr[3])
+#define BITS_PER_IP_ADDRESS 128
+
#define IPA_NONE _MI(0,0,0,0)
#define ipa_equal(x,y) (!memcmp(&(x),&(y),sizeof(ip_addr)))