SOIn6AddrAny
SOIn6AddrLoopback
SOIn6AddrLinkLocalAllNodes
SOIn6AddrLinkLocalAllRouters


C Specification

#include <dolphin/ip.h>

extern const SOIn6Addr SOIn6AddrAny;                 // 0:0:0:0:0:0:0:0:0 (::)
extern const SOIn6Addr SOIn6AddrLoopback;            // 0:0:0:0:0:0:0:0:1 (::1)
extern const SOIn6Addr SOIn6AddrLinkLocalAllNodes;   // FF02:0:0:0:0:0:0:1 (FF02::1)
extern const SOIn6Addr SOIn6AddrLinkLocalAllRouters; // FF02:0:0:0:0:0:0:2 (FF02::2)

Description

Several well known IPv6 addresses are defined in the library.

A loopback interface address (::1) is defined as SOIn6AddrLoopbackAddr. It refers to the local host via the loopback interface.

The multicast address which identifies the group of all IPv6 nodes within the link-local scope (FF02::1) is defined as SOIn6AddrLinkLocalAllNodes.

The multicast address which identifies the group of all IPv6 routers within the link-local scope (FF02::2) is defined as SOIn6AddrLinkLocalAllRouters.

While a host is determining its own IPv6 address, it's address is represented as ::  which is defined as SOIn6AddrAny. SOIn6AddrAny is also used to specify any network interface for binding with IPSocket.

See Also

"IPv6 Multicast Address Assignments", RFC 2375.

Internet Protocol Version 6 (IPv6) Addressing Architecture", RFC 3513.