Match IP addresses to autonomous systems
ip_to_asn(cidr_trie, ip)
cidr_trie | trie created with |
---|---|
ip | character vector or numeric vector of IPv4 addresses |
# NOT RUN { tbl <- asn_table_to_trie(system.file("test", "rib.tst.gz", package="iptools")) ip_to_asn(tbl, "5.192.0.1") # }