Module tanya.net.ip

Internet Protocol implementation.

Functions

NameDescription
address4(range) Parses a string containing an IPv4 address in dotted-decimal notation.
address4(range) Constructs an Address4 from raw bytes in network byte order.
address6(range) Parses a string containing an IPv6 address.
address6(range, scopeID) Constructs an Address6 from raw bytes in network byte order and the scope ID.

Structs

NameDescription
Address Address storage, that can hold either an IPv4 or IPv6 address.
Address4 IPv4 internet address.
Address6 IPv6 internet address.