parse_tcpdump_log.pl: add support for collecting data directly
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 Mar 2011 18:08:41 +0000 (15:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Mar 2011 14:38:20 +0000 (11:38 -0300)
commitfa85e71d1e9714f63a625fb34b14dcdcfbeadbd8
treecb9c9625d979e38f01f567072ed49af24ae8ce98
parentcceb2a04dda91bd670639f7844c56ce8ec8cb8c5
parse_tcpdump_log.pl: add support for collecting data directly

Instead of needing to use tcpdump, just use Net:Pcap and retrieve the
data directly via libpcap. This allows real-time parsing of the logs,
and may be very useful while debugging certain drivers.

The usual way via tcpdump is not touched.

A patch is needed in order to optionally use Net::Pcap, as this is only
required on pcap mode.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/parse_tcpdump_log.pl