]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
More UNALIGNED_MEM{CPY,CMP} on IP addresses.
[tcpdump] / bpf_dump.c
index fb77942a2ff10ea6af25a8a25371caa8aaef6d30..209cfbb18907ff3891ca7ffdc15fd276f714f2e8 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.9 1999-10-07 23:47:09 mcr Exp $ (LBL)";
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
 #endif
 
-#include <sys/types.h>
-#include <sys/time.h>
+#include <tcpdump-stdinc.h>
 
 #include <pcap.h>
 #include <stdio.h>
 
 #include "interface.h"
 
-extern void bpf_dump(struct bpf_program *, int);
-
 void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
 {
        struct bpf_insn *insn;
        int i;