Description Usage Arguments Value References Examples
Perform 6-to-4 and 4-to-6 addressing
1 2 3 | ipv4_to_ipv6(x)
ipv6_to_ipv4(x)
|
x |
a character vector of IPv4 ( |
a character vector of converted address with NA
for any that were not able to be
converted.
https://tools.ietf.org/html/rfc3056
1 2 3 4 5 | set.seed(19216811)
src <- iptools::ip_random(10)
to6 <- ipv4_to_ipv6(src)
to4 <- ipv6_to_ipv4(to6)
all(src == to4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.