Net::DHCP::Packet::IPv4Utils - Object methods for IPv4 in Net::DHCP
version 0.7_010
use Net::DHCP::Packet::IPv4Utils qw( :all );
Probably not at all useful on its own
Transforms a IP address "xx.xx.xx.xx" into a packed 4 bytes string.
These are simple never failing versions of inet_ntoa and inet_aton.
Transforms a list of space delimited IP addresses into a packed bytes string.
Transforms an array (list) of IP addresses into a packed bytes string.
Transforms a packed bytes IP address into a "xx.xx.xx.xx" string.
Transforms a packed bytes list of IP addresses into a list of "xx.xx.xx.xx" space delimited string.
Transforms a packed bytes list of IP addresses into a array of "xx.xx.xx.xx" strings.
Net::DHCP::Options, Net::DHCP::Constants.
Dean Hamstead <dean@fragfest.com.au>
This software is Copyright (c) 2022 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License
To install Net::DHCP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DHCP
CPAN shell
perl -MCPAN -e shell install Net::DHCP
For more information on module installation, please visit the detailed CPAN module installation guide.