Ip
Index¶
ip::ipv4_to_num¶
Convert a dotted-decimal IPv4 address to its 32-bit integer representation. Output: stdout — integer representation of the address
Arguments¶
- $1 (IPv4): address (e.g. "192.168.1.1")
ip::num_to_ipv4¶
Convert a 32-bit integer to a dotted-decimal IPv4 address. Output: stdout — dotted-decimal address (e.g. "192.168.1.1")
Arguments¶
- $1 (integer): representation of an IPv4 address