ip_to_asn: Match IP addresses to autonomous systems

View source: R/cidr.r

ip_to_asnR Documentation

Match IP addresses to autonomous systems

Description

Match IP addresses to autonomous systems

Usage

ip_to_asn(cidr_trie, ip)

Arguments

cidr_trie

trie created with asn_table_to_trie()

ip

character vector or numeric vector of IPv4 addresses

Examples

tbl <- asn_table_to_trie(system.file("test", "rib.tst", package="iptools"))
ip_to_asn(tbl, "5.192.0.1")

hrbrmstr/iptools documentation built on Jan. 10, 2023, 2:54 a.m.