1Net::DHCP::Packet::IPv4UUsteirlsC(o3n)tributed Perl DocuNmeetn:t:aDtHiCoPn::Packet::IPv4Utils(3)
2
3
4
6 Net::DHCP::Packet::IPv4Utils - Object methods for IPv4 in Net::DHCP
7
9 version 0.7
10
12 use Net::DHCP::Packet::IPv4Utils qw( :all );
13
15 Probably not at all useful on its own
16
17 IPv4 UTILITY METHODS
18 packinet ( STRING )
19 Transforms a IP address "xx.xx.xx.xx" into a packed 4 bytes string.
20
21 These are simple never failing versions of inet_ntoa and inet_aton.
22
23 packinets ( STRING )
24 Transforms a list of space delimited IP addresses into a packed
25 bytes string.
26
27 packinets_array( LIST )
28 Transforms an array (list) of IP addresses into a packed bytes
29 string.
30
31 unpackinet ( STRING )
32 Transforms a packed bytes IP address into a "xx.xx.xx.xx" string.
33
34 unpackinets ( STRING )
35 Transforms a packed bytes list of IP addresses into a list of
36 "xx.xx.xx.xx" space delimited string.
37
38 unpackinets_array ( STRING )
39 Transforms a packed bytes list of IP addresses into a array of
40 "xx.xx.xx.xx" strings.
41
43 Net::DHCP::Options, Net::DHCP::Constants.
44
46 Dean Hamstead <dean@fragfest.com.au>
47
49 This software is Copyright (c) 2022 by Dean Hamstead.
50
51 This is free software, licensed under:
52
53 The MIT (X11) License
54
55
56
57perl v5.36.0 2022-07-22 Net::DHCP::Packet::IPv4Utils(3)