Net::IP::Match::XSEfficiently match IP addresses against IP ranges with C | |
Download |
Net::IP::Match::XS Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Beau E. Cox
- Publisher web site:
- http://search.cpan.org/~beau/
Net::IP::Match::XS Tags
Net::IP::Match::XS Description
Efficiently match IP addresses against IP ranges with C Net::IP::Match::XS is a Perl module based upon, and does the same thing as Net::IP::Match. The unconditionally exported subroutine 'match_ip' determines if the ip to match ( first argument ) matches any of the subsequent ip arguments. Match arguments may be absolute quads, as '127.0.0.1', or contain mask bits as '111.245.76.248/29'. A true return value indicates a match. It was written in C, rather than a macro, preprocessed through Perl's source filter mechanism ( as is Net::IP::Match ), so that the ip arguments could be traditional perl scalars. The C code is lean and mean.SYNOPSIS use Net::IP::Match::XS; my $match = match_ip( $ip_addr, $match_ip1, $match_ip2, ... ); Requirements: · Perl
Net::IP::Match::XS Related Software