diff options
author | Internet Software Consortium, Inc <@isc.org> | 2007-09-07 14:08:43 -0600 |
---|---|---|
committer | LaMont Jones <lamont@debian.org> | 2007-09-07 14:08:43 -0600 |
commit | 845c529daf861c03794b0fb8085ff2ab51adf99b (patch) | |
tree | ecb328a6b57fb4cd53a9f2b4f8959ddabff87856 /lib/isc | |
parent | c380ae240a9a3b5e71bfb604936b73aae6a49d5e (diff) | |
download | bind9-845c529daf861c03794b0fb8085ff2ab51adf99b.tar.gz |
9.1.0b3
Diffstat (limited to 'lib/isc')
-rw-r--r-- | lib/isc/unix/include/isc/net.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/isc/unix/include/isc/net.h b/lib/isc/unix/include/isc/net.h index b01e9ceb..3e6a07b2 100644 --- a/lib/isc/unix/include/isc/net.h +++ b/lib/isc/unix/include/isc/net.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: net.h,v 1.24 2000/12/08 00:55:32 tale Exp $ */ +/* $Id: net.h,v 1.24.4.1 2001/01/03 20:37:58 gson Exp $ */ #ifndef ISC_NET_H #define ISC_NET_H 1 @@ -118,20 +118,20 @@ extern const struct in6_addr isc_net_in6addrany; * Fix UnixWare 7.1.1's broken IN6_IS_ADDR_* definitions. */ #ifdef ISC_PLATFORM_FIXIN6ISADDR -#define IN6_IS_ADDR_GEOGRAPHIC +#undef IN6_IS_ADDR_GEOGRAPHIC #define IN6_IS_ADDR_GEOGRAPHIC(a) (((a)->S6_un.S6_l[0] & 0xE0) == 0x80) -#define IN6_IS_ADDR_IPX -#define IN6_IS_ADDR_IPX(a) (((a)->S6_un.S6_l[0] & 0xFE) == 0x04) -#define IN6_IS_ADDR_LINKLOCAL -#define IN6_IS_ADDR_LINKLOCAL(a) (((a)->S6_un.S6_l[0] & 0xC0FF) == 0x80FE) -#define IN6_IS_ADDR_MULTICAST -#define IN6_IS_ADDR_MULTICAST(a) (((a)->S6_un.S6_l[0] & 0xFF) == 0xFF) -#define IN6_IS_ADDR_NSAP -#define IN6_IS_ADDR_NSAP(a) (((a)->S6_un.S6_l[0] & 0xFE) == 0x02) -#define IN6_IS_ADDR_PROVIDER -#define IN6_IS_ADDR_PROVIDER(a) (((a)->S6_un.S6_l[0] & 0xE0) == 0x40) -#define IN6_IS_ADDR_SITELOCAL -#define IN6_IS_ADDR_SITELOCAL(a) (((a)->S6_un.S6_l[0] & 0xC0FF) == 0xC0FE) +#undef IN6_IS_ADDR_IPX +#define IN6_IS_ADDR_IPX(a) (((a)->S6_un.S6_l[0] & 0xFE) == 0x04) +#undef IN6_IS_ADDR_LINKLOCAL +#define IN6_IS_ADDR_LINKLOCAL(a) (((a)->S6_un.S6_l[0] & 0xC0FF) == 0x80FE) +#undef IN6_IS_ADDR_MULTICAST +#define IN6_IS_ADDR_MULTICAST(a) (((a)->S6_un.S6_l[0] & 0xFF) == 0xFF) +#undef IN6_IS_ADDR_NSAP +#define IN6_IS_ADDR_NSAP(a) (((a)->S6_un.S6_l[0] & 0xFE) == 0x02) +#undef IN6_IS_ADDR_PROVIDER +#define IN6_IS_ADDR_PROVIDER(a) (((a)->S6_un.S6_l[0] & 0xE0) == 0x40) +#undef IN6_IS_ADDR_SITELOCAL +#define IN6_IS_ADDR_SITELOCAL(a) (((a)->S6_un.S6_l[0] & 0xC0FF) == 0xC0FE) #endif /* ISC_PLATFORM_FIXIN6ISADDR */ /* |