|
NAMENet::Frame::Dump::Writer - tcpdump like implementation, writer mode SYNOPSIS use Net::Frame::Dump::Writer;
my $oDump = Net::Frame::Dump::Writer->new(
file => 'new-file.pcap',
firstLayer => 'ETH',
);
$oDump->start;
$oDump->write({ timestamp => '10.10', raw => ('A' x 14) });
$oDump->stop;
DESCRIPTIONThis module implements a pcap file builder. You will be able to create frames, then write them in the pcap file format to a file. ATTRIBUTESThe following are inherited attributes:
METHODS
SEE ALSONet::Frame::Dump AUTHORPatrice <GomoR> Auffret COPYRIGHT AND LICENSECopyright (c) 2006-2020, Patrice <GomoR> Auffret You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
|