diff options
author | Martin Mares <mj@ucw.cz> | 1998-05-15 07:56:13 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-05-15 07:56:13 +0000 |
commit | 25697773b529d80278679978b7416ca9c87e15e9 (patch) | |
tree | 8ca875571e57475a15e978abae76aeda58d82149 /lib/ipv6.h | |
parent | 62aa008abd627c6862310daf65ffd337a920bdbb (diff) |
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.
Diffstat (limited to 'lib/ipv6.h')
-rw-r--r-- | lib/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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))) |