ip v0.1.0 IP.Address.Helpers

Helpful macros related to IP addresses.

Link to this section Summary

Functions

Guard clause macro for “between 0 and 0xff”

Guard clause macro for “4 or 6”

Guard clause macro for “between 0 and 0xffffffff”

Guard clause macro for “between 0 and 0xffffffffffffffffffffffffffffffff”

Link to this section Functions

Link to this macro valid_byte?(n) (macro)

Guard clause macro for “between 0 and 0xff”

Link to this macro valid_ip_version?(arg1) (macro)

Guard clause macro for “4 or 6”

Link to this macro valid_ipv4_integer?(n) (macro)

Guard clause macro for “between 0 and 0xffffffff”

Link to this macro valid_ipv6_integer?(n) (macro)

Guard clause macro for “between 0 and 0xffffffffffffffffffffffffffffffff”