]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
More UNALIGNED_MEM{CPY,CMP} on IP addresses.
[tcpdump] / bpf_dump.c
index 79ad5bb7c8eb433be997037aadbe0a178f7a2e2f..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.13 2000-12-09 02:58:45 fenner Exp $ (LBL)";
-#endif
 
 #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>
@@ -36,7 +31,7 @@ static const char rcsid[] =
 #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;