1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Source: libnet-netmask-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders:
Dominic Hargreaves <dom@earth.li>,
Jonas Smedegaard <dr@jones.dk>,
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends:
debhelper-compat (= 13),
Build-Depends-Indep:
libtest-useallmodules-perl <!nocheck>,
libtest2-suite-perl <!nocheck>,
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libnet-netmask-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libnet-netmask-perl.git
Homepage: https://metacpan.org/release/Net-Netmask
Rules-Requires-Root: no
Package: libnet-netmask-perl
Architecture: all
Depends:
${misc:Depends},
${perl:Depends},
Multi-Arch: foreign
Description: module to parse, manipulate and lookup IP network blocks
Net::Netmask parses and understands IPv4 and IPv6 CIDR blocks.
It's built with an object-oriented interface,
with functions being methods that operate on a Net::Netmask object.
.
These methods provide
nearly all types of information about a network block
that you might want.
.
There are also functions to insert a network block into a table
and then later lookup network blocks by IP address using that table.
There are functions to turn a IP address range
into a list of CIDR blocks.
There are functions to turn a list of CIDR blocks
into a list of IP addresses.
.
There is a function for sorting by text IP address.
.
All functions understand both IPv4 and IPv6.
Matches, finds, etc, will always return false
when an IPv4 address is matched against an IPv6 address.
|