diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/API/POSIX/netinet/in.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Kernel/API/POSIX/netinet/in.h b/Kernel/API/POSIX/netinet/in.h index ae8eed6523..be3d1aba6a 100644 --- a/Kernel/API/POSIX/netinet/in.h +++ b/Kernel/API/POSIX/netinet/in.h @@ -95,7 +95,13 @@ struct in6_addr { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 \ } -extern struct in6_addr in6addr_any; +#define IN6ADDR_LOOPBACK_INIT \ + { \ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 \ + } + +extern const struct in6_addr in6addr_any; +extern const struct in6_addr in6addr_loopback; struct sockaddr_in6 { sa_family_t sin6_family; // AF_INET6. |