IN6ADDR_ANY(3) Library Functions Manual IN6ADDR_ANY(3)

in6addr_any in6addr_loopbackIPv6 address variables


#include <netinet/in.h>

const struct in6_addr in6addr_any;
const struct in6_addr in6addr_loopback;

The in6addr_any variable is initialized by the system to contain the wildcard IPv6 address ( ::).

The variable is initialized by the system to contain the loopback IPv6 address ( ::1).

None.

No errors are defined.

None.

None.

These variables were only described on the XBD <netinet/in.h> page in earlier versions of this standard.

None.

bind(3), connect(3)

XBD <netinet/in.h>

First released in Issue 8. Derived from Issue 7 XBD <netinet/in.h>.

June 14, 2024 posix.fail