Net::Packet::Consts - all constants used in Net::Packet framework
# Load IPv4 layer constants
use Net::Packet::Consts qw(:ipv4);
# Load Ethernet layer constants
use Net::Packet::Consts qw(:eth);
# Load Ethernet, IPv6 and TCP layers constants
use Net::Packet::Consts qw(:eth :ipv6 :tcp);
This module is the place to store all useful constants. If you want to see them
all, simply `perldoc -m Net::Packet::Consts'.
Copyright (c) 2004-2009, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic
license. See LICENSE.Artistic file in the source distribution archive.
NetPacket, Net::RawIP, Net::RawSock
Hey! The above document had some coding errors, which are explained
below:
- Around line 485:
- Non-ASCII character seen before =encoding in '# Load'. Assuming
CP1252