]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
Add program_name field in the netdissect_options structure
[tcpdump] / bpf_dump.c
index d928161edf8f2539e5f32f22087cd94a98c9a563..05ae760a8f29e0a0005e0d82d47114cd4fae55a5 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.11 2000-06-18 11:12:59 assar 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>
 
 #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;