#include <isc/int.h>
#include <isc/platform.h>
Go to the source code of this file.
Data Structures | |
| struct | in6_addr |
| struct | sockaddr_in6 |
Defines | |
| #define | ISC_IPV6_H 1 |
| #define | LWRES_IPV6_H 1 |
| #define | s6_addr _S6_un._S6_u8 |
| #define | s6_addr8 _S6_un._S6_u8 |
| #define | s6_addr16 _S6_un._S6_u16 |
| #define | s6_addr32 _S6_un._S6_u32 |
| #define | IN6ADDR_ANY_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}} |
| #define | IN6ADDR_LOOPBACK_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }}} |
| #define | IN6_IS_ADDR_UNSPECIFIED(a) |
| Unspecified. | |
| #define | IN6_IS_ADDR_LOOPBACK(a) |
| Loopback. | |
| #define | IN6_IS_ADDR_V4COMPAT(a) |
| IPv4 compatible. | |
| #define | IN6_IS_ADDR_V4MAPPED(a) |
| Mapped. | |
| #define | IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr8[0] == 0xffU) |
| Multicast. | |
| #define | IN6_IS_ADDR_LINKLOCAL(a) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80)) |
| Unicast link / site local. | |
| #define | IN6_IS_ADDR_SITELOCAL(a) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0)) |
Variables | |
| LIBISC_EXTERNAL_DATA struct in6_addr | in6addr_any |
| LIBISC_EXTERNAL_DATA struct in6_addr | in6addr_loopback |
Definition in file ipv6.h.
| #define LWRES_IPV6_H 1 |
| #define IN6ADDR_ANY_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }}} |
| #define IN6ADDR_LOOPBACK_INIT {{{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }}} |
| #define IN6_IS_ADDR_UNSPECIFIED | ( | a | ) |
| #define IN6_IS_ADDR_LOOPBACK | ( | a | ) |
| #define IN6_IS_ADDR_V4COMPAT | ( | a | ) |
| #define IN6_IS_ADDR_V4MAPPED | ( | a | ) |
Value:
(((a)->s6_addr32[0] == 0) && \ ((a)->s6_addr32[1] == 0) && \ ((a)->s6_addr32[2] == htonl(0x0000ffff)))
Definition at line 129 of file ipv6.h.
Referenced by dns_acl_match2(), dns_zone_notifyreceive(), isc_netaddr_fromv4mapped(), isc_sockaddr_hash(), notify_send_toaddr(), and possibly_mark().
| #define IN6_IS_ADDR_MULTICAST | ( | a | ) | ((a)->s6_addr8[0] == 0xffU) |
Multicast.
Definition at line 137 of file ipv6.h.
Referenced by isc_netaddr_ismulticast(), and process_cmsg().
| #define IN6_IS_ADDR_LINKLOCAL | ( | a | ) | (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80)) |
Unicast link / site local.
Definition at line 143 of file ipv6.h.
Referenced by client_request(), get_addr(), isc_netaddr_islinklocal(), and isc_netscope_pton().
| #define IN6_IS_ADDR_SITELOCAL | ( | a | ) | (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0)) |
| LIBISC_EXTERNAL_DATA struct in6_addr in6addr_any |
Definition at line 26 of file ipv6.c.
Referenced by do_scan(), internal_current4(), isc_netaddr_any6(), and isc_sockaddr_any6().
| LIBISC_EXTERNAL_DATA struct in6_addr in6addr_loopback |