
Net::Packet::Desc - base class for all desc modules

This is the base class for Net::Packet::DescL2, Net::Packet::DescL3 and Net::Packet::DescL4 modules.
It just provides those layers with inheritable attributes and methods.
A descriptor is required when you want to send frames over network.

A reference to a Net::Packet::Env object. By default, initialized to $Net::Packet::Env variable.
When a new object is created, the Net::Packet global $Env object as its desc attribute set to this newly created Desc object. Setting it to 1 avoids this. Default is 0.

Send the raw data passed as parameter to the env object.
Close the descriptor.
Returns true if Desc is of specified type, false otherwise.

Load them: use Net::Packet::Consts qw(:desc);

Patrice <GomoR> Auffret

Copyright (c) 2004-2005, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See Copying file in the source distribution archive.
