Module ip

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: ::.