| Net-Packet documentation | Contained in the Net-Packet distribution. |
Net::Packet::CDP::Type - base class for Cisco Discovery Protocol extension headers
This is the base class for Net::Packet::CDP various extension headers. For other attributes and methods, see Net::Packet::Layer and Net::Packet::Layer4.
It just provides those extension headers with inheritable attributes and methods.
See Net::Packet::CDP CONSTANTS.
Patrice <GomoR> Auffret
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
| Net-Packet documentation | Contained in the Net-Packet distribution. |
# # $Id: Type.pm 1640 2009-11-09 17:58:27Z gomor $ # package Net::Packet::CDP::Type; use strict; use warnings; require Net::Packet::Layer4; our @ISA = qw(Net::Packet::Layer4); our @AS = qw( type length ); __PACKAGE__->cgBuildIndices; __PACKAGE__->cgBuildAccessorsScalar(\@AS); no strict 'vars'; sub getLength { shift->[$__length] } 1; __END__