Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Net::Pcap, parsing packets offline

by raj_paps (Initiate)
on May 23, 2013 at 09:14 UTC ( #1034914=perlquestion: print w/ replies, xml ) Need Help??
raj_paps has asked for the wisdom of the Perl Monks concerning the following question:

I am parsing packets offline. I am able to do so with

my $pcap = Net::Pcap::open_offline($fp, \$err);

Net::Pcap::dispatch($pcap, 0, \&process_pkt_sip, $out);

my problem is, I need to get the timestamp/timings of the packet for certain measurement. I saw perl code in some forums to retrieve timings for real time captures. any suggestions for offline..?

Comment on Net::Pcap, parsing packets offline
Select or Download Code
Re: Net::Pcap, parsing packets offline
by Anonymous Monk on May 23, 2013 at 16:38 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034914]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-07-04 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls