0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 1999-2002, 2004, 2005, 2007, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/* $Id: ipv6.h,v 1.24 2007/06/19 23:47:18 tbox 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
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews (((a)->s6_addr32[0] == 0) && \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews (((a)->s6_addr32[0] == 0) && \
443ad8c09c31634a21ef73794aca32594543829dMichael Graff * IPv4 compatible
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews (((a)->s6_addr32[0] == 0) && \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews (((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 */