Net-Packet-EtherType
NAME
Net::Packet::EtherType - Enumerator to describe EtherType.
SYNOPSIS
use Net::Packet::EtherType :short;
my $etype_Int = 0x0800; # EtherType value of IPv4
my $etype = EtherType($etype_Int);
say $etype; # 'IPv4'
$etype = EtherType::IPv4;
say $etype.value.base(16); # '800'
say EtherType.enums; # Prints all implemented values.