mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 14:49:20 -04:00
add any and loopback support
This commit is contained in:
parent
507fa57547
commit
705a1d752e
1 changed files with 6 additions and 0 deletions
|
|
@ -63,6 +63,12 @@ struct in6_addr {
|
|||
};
|
||||
#define s6_addr _S6_un._S6_u8
|
||||
|
||||
#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 }}}
|
||||
|
||||
extern struct in6_addr in6addr_any;
|
||||
extern struct in6_addr in6addr_loopback;
|
||||
|
||||
struct sockaddr_in6 {
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
isc_uint8_t sin6_len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue