The Open Group Base Specifications Issue 8
IEEE Std 1003.1-2024
Copyright © 2001-2024 The IEEE and The Open Group

NAME

in6addr_any, in6addr_loopback — IPv6 address variables

SYNOPSIS

[IP6] [Option Start] #include <netinet/in.h>

const struct in6_addr in6addr_any;
const struct in6_addr in6addr_loopback; [Option End]

DESCRIPTION

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

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

RETURN VALUE

None.

ERRORS

No errors are defined.


The following sections are informative.

EXAMPLES

None.

APPLICATION USAGE

None.

RATIONALE

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

FUTURE DIRECTIONS

None.

SEE ALSO

bind , connect

XBD <netinet/in.h>

CHANGE HISTORY

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

End of informative text.

 

return to top of page

UNIX® is a registered Trademark of The Open Group.
POSIX™ is a Trademark of The IEEE.
Copyright © 2001-2024 The IEEE and The Open Group, All Rights Reserved
[ Main Index | XBD | XSH | XCU | XRAT ]