ips_in_cidrs | R Documentation |
Determine if a vector if IPv4 addresses are in a vector of CIDRs
ips_in_cidrs(ips, cidrs)
ips |
character vector or numeric vector of IPv4 addresses |
cidrs |
character vector or numeric vector of IPv4 CIDRs |
data_frame
with ips
column and a logical in_cdir
column
auto-appends /32
if a bare IPv4 is detected
ips_in_cidrs( c("4.3.2.1", "1.2.3.4", "1.20.113.10", "5.190.145.5"), c("5.190.144.0/21", "1.20.113.0/24") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.