Module ip
Available on crate feature
net only.Expand description
IP constants and utilities
Constantsยง
- IPV4_
BROADCAST - An IPv4 address representing the broadcast address:
255.255.255.255. - IPV4_
LOCALHOST - An IPv4 address with the address pointing to localhost:
127.0.0.1 - IPV4_
UNSPECIFIED - An IPv4 address representing an unspecified address:
0.0.0.0 - IPV6_
ALL_ NODES_ LINK_ LOCAL - The IPv6 All Nodes multicast address in link-local scope, as defined in RFC 4291 Section 2.7.1.
- IPV6_
ALL_ ROUTERS_ LINK_ LOCAL - The IPv6 All Routers multicast address in link-local scope, as defined in RFC 4291 Section 2.7.1.
- IPV6_
LOCALHOST - An IPv6 address representing localhost:
::1. - IPV6_
UNSPECIFIED - An IPv6 address representing the unspecified address:
::.