#include <stdlib.h>
#include <stdio.h>
#include <pcap.h>
Go to the source code of this file.
Defines | |
#define | LINE_LEN 16 |
Functions | |
void | dispatcher_handler (u_char *, const struct pcap_pkthdr *, const u_char *) |
main (int argc, char **argv) |
|
Definition at line 27 of file Pktdump.c. Referenced by dispatcher_handler. |
|
Definition at line 127 of file Pktdump.c. References pcap_pkthdr::caplen, pcap_pkthdr::len, LINE_LEN, and pcap_pkthdr::ts. Referenced by main. |
|
Definition at line 33 of file Pktdump.c. References pcap_if::description, dispatcher_handler, errbuf, pcap_if::name, pcap_if::next, PCAP_ERRBUF_SIZE, pcap_findalldevs, pcap_freealldevs, pcap_loop, pcap_open_live, pcap_open_offline, and pcap_t. |
documentation. Copyright (c) 2002 Politecnico di Torino. All rights reserved.