ipv6.h revision 79a6a33184abff1999ba13b10922ccb34a2758a5
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * Copyright (C) 1999-2001 Internet Software Consortium.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * Permission to use, copy, modify, and distribute this software for any
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * purpose with or without fee is hereby granted, provided that the above
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * copyright notice and this permission notice appear in all copies.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews/* $Id: ipv6.h,v 1.19 2002/04/03 06:38:33 marka Exp $ */
648ba62b1f156cbca14d54d06c535385f1193d13Mark Andrews * Also define LWRES_IPV6_H to keep it from being included if liblwres is
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * being used, or redefinition errors will occur.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews ***** Module Info
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * IPv6 definitions for systems which do not support IPv6.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * No impact.
64cde9d94a2f6c7050f00d9651df6b05e63d09f2Mark Andrews * Reliability:
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * No anticipated impact.
64cde9d94a2f6c7050f00d9651df6b05e63d09f2Mark Andrews * Resources:
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * No anticipated impact.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * Standards:
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews *** Imports.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#define IN6ADDR_ANY_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}}
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#define IN6ADDR_LOOPBACK_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }}}
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsLIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_any;
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsLIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_loopback;
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * Unspecified
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews (((a)->s6_addr32[0] == 0) && \
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews (((a)->s6_addr32[0] == 0) && \
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews * IPv4 compatible
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews (((a)->s6_addr32[0] == 0) && \
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews (((a)->s6_addr32[0] == 0) && \
#define IN6_IS_ADDR_LINKLOCAL(a) \
#define IN6_IS_ADDR_SITELOCAL(a) \