The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Packet::DescL3 - object for a network layer (layer 3) descriptor

SYNOPSIS

   use Net::Packet::DescL3;

   # Usually, you use it to send IPv4 frames
   my $d3 = Net::Packet::DescL3->new(target => '192.168.0.1');

   $d3->send($rawStringToNetwork);

DESCRIPTION

See also Net::Packet::Desc for other attributes and methods.

ATTRIBUTES

target

IPv4 address of the target host. You must set it to be able to send frames.

METHODS

new

Create the object, using default $Net::Packet::Env object to choose which device and source address to use (see Net::Packet::Env). When the object is created, the $Net::Packet::Env object as its desc attributes set to it. Use noEnvSet to avoid that.

AUTHOR

Patrice <GomoR> Auffret

COPYRIGHT AND LICENSE

Copyright (c) 2004-2006, Patrice <GomoR> Auffret

You may distribute this module under the terms of the Artistic license. See Copying file in the source distribution archive.

RELATED MODULES

NetPacket, Net::RawIP, Net::RawSock