NAME
Net::DHCP::Packet::IPv4Utils - Object methods for IPv4 in Net::DHCP
VERSION
version 0.7_003
SYNOPSIS
use Net::DHCP::Packet::IPv4Utils qw( :all );
DESCRIPTION
Probably not at all useful on its own
IPv4 UTILITY METHODS
- packinet ( STRING )
-
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.
- packinets ( STRING )
-
Transforms a list of space delimited IP addresses into a packed bytes string.
- packinets_array( LIST )
-
Transforms an array (list) of IP addresses into a packed bytes string.
- unpackinet ( STRING )
-
Transforms a packed bytes IP address into a "xx.xx.xx.xx" string.
- unpackinets ( STRING )
-
Transforms a packed bytes list of IP addresses into a list of "xx.xx.xx.xx" space delimited string.
- unpackinets_array ( STRING )
-
Transforms a packed bytes list of IP addresses into a array of "xx.xx.xx.xx" strings.
AUTHOR
Dean Hamstead <dean@bytefoundry.com.au<gt> Previously Stephan Hadinger <shadinger@cpan.org>. Original version by F. van Dun.
BUGS
See https://rt.cpan.org/Dist/Display.html?Queue=Net-DHCP
GOT PATCHES?
Many young people like to use Github, so by all means send me pull requests at
https://github.com/djzort/Net-DHCP
COPYRIGHT
This is free software. It can be distributed and/or modified under the same terms as Perl itself.