From 25697773b529d80278679978b7416ca9c87e15e9 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 15 May 1998 07:56:13 +0000 Subject: The library is now glued together from generic and OS-dependent parts by the `mergedirs' script. Few more IP address manipulation functions and some fixes. --- lib/ipv6.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/ipv6.h') diff --git a/lib/ipv6.h b/lib/ipv6.h index 845955f..08ed5f8 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))) -- cgit v1.2.3