powered by
The total number of bits available in the address space. IPv4 uses 32-bit addresses and IPv6 uses 128-bit addresses.
max_prefix_length(x)
An integer vector
An ip_address or ip_network vector
ip_address
ip_network
is_ipv4(), is_ipv6(), prefix_length()
is_ipv4()
is_ipv6()
prefix_length()
x <- ip_address(c("192.168.0.1", "2001:db8::7334")) max_prefix_length(x)
Run the code above in your browser using DataLab