ipv6.h revision ab023a65562e62b85a824509d829b6fad87e00b1
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * Copyright (C) 1999-2002 Internet Software Consortium.
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * Permission to use, copy, modify, and distribute this software for any
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * purpose with or without fee is hereby granted, provided that the above
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * copyright notice and this permission notice appear in all copies.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * PERFORMANCE OF THIS SOFTWARE.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/* $Id: ipv6.h,v 1.21 2005/04/27 04:57:18 sra Exp $ */
de8e189332e884db065b921f84e3ee4922ad10e3David Lawrence * Also define LWRES_IPV6_H to keep it from being included if liblwres is
de8e189332e884db065b921f84e3ee4922ad10e3David Lawrence * being used, or redefinition errors will occur.
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley ***** Module Info
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \brief IPv6 definitions for systems which do not support IPv6.
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * No impact.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \li Reliability:
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * No anticipated impact.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \li Resources:
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \li Security:
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley * No anticipated impact.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein * \li Standards:
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley *** Imports.
705a1d752e32d89efc787e1f25d51777565afbc4Bob Halley#define IN6ADDR_ANY_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}}
705a1d752e32d89efc787e1f25d51777565afbc4Bob Halley#define IN6ADDR_LOOPBACK_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }}}
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny MayerLIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_any;
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny MayerLIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_loopback;
443ad8c09c31634a21ef73794aca32594543829dMichael Graff * Unspecified
443ad8c09c31634a21ef73794aca32594543829dMichael Graff (((a)->s6_addr32[0] == 0) && \
443ad8c09c31634a21ef73794aca32594543829dMichael Graff (((a)->s6_addr32[0] == 0) && \
443ad8c09c31634a21ef73794aca32594543829dMichael Graff * IPv4 compatible
443ad8c09c31634a21ef73794aca32594543829dMichael Graff (((a)->s6_addr32[0] == 0) && \
443ad8c09c31634a21ef73794aca32594543829dMichael Graff (((a)->s6_addr32[0] == 0) && \
79a6a33184abff1999ba13b10922ccb34a2758a5Mark Andrews * Unicast link / site local.
79a6a33184abff1999ba13b10922ccb34a2758a5Mark Andrews (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80))
79a6a33184abff1999ba13b10922ccb34a2758a5Mark Andrews (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0))
9679032ec8ea97edcc993deb3d3dfcf54655cb52Bob Halley#endif /* ISC_IPV6_H */