
pcapdump - Dump packets from the network

pcapdump [-c count] [-i interface] [-s snaplen] [-w file] [expression]
pcapdump --help
pcapdump --version

Exit after receiving N packets.
Listen on the specified interface. If unspecified, the program will use the interface returned by pcap_lookupdev().
Capture L bytes of data for each packet. Defaults to 256.

pcapdump mimics the very basic features of tcpdump(1) and provides a good example of how to use Net::Pcap.

Sébastien Aperghis-Tramoni, <sebastien@aperghis.net>

Copyright (C) 2005, 2006, 2007, 2008 Sébastien Aperghis-Tramoni. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.