]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
On Solaris, for 64-bit builds, use the 64-bit pcap-config.
[tcpdump] / bpf_dump.c
index 79ad5bb7c8eb433be997037aadbe0a178f7a2e2f..1ac74a24127c85bf4f36b7af13920eb546d065f0 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
-#ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.13 2000-12-09 02:58:45 fenner Exp $ (LBL)";
-#endif
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
-#include <sys/types.h>
-#include <sys/time.h>
+#include "netdissect-stdinc.h"
 
-#include <pcap.h>
 #include <stdio.h>
 
+#include "netdissect.h"
 #include "interface.h"
 
 void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
 {
        struct bpf_insn *insn;
        int i;