X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f12d9bbf4cda49df504806e58f83f8fadeed1cf5..6e07bc747cfa438a48a738881479a07a3bd0d3b9:/interface.h?ds=inline diff --git a/interface.h b/interface.h index e6d04687..a3aed3fe 100644 --- a/interface.h +++ b/interface.h @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.153 2001-01-28 08:12:25 itojun Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.159 2001-05-17 18:33:00 fenner Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -147,8 +147,6 @@ extern const u_char *snapend; /* Bail if "var" was not captured */ #define TCHECK(var) TCHECK2(var, sizeof(var)) -struct timeval; - extern void ts_print(const struct timeval *); extern void relts_print(int); @@ -177,7 +175,7 @@ extern char *dnnum_string(u_short); /* The printer routines. */ -struct pcap_pkthdr; +#include extern void ascii_print_with_offset(const u_char *, u_int, u_int); extern void ascii_print(const u_char *, u_int); @@ -200,6 +198,8 @@ extern void default_print(const u_char *, u_int); extern void default_print_unaligned(const u_char *, u_int); extern void dvmrp_print(const u_char *, u_int); extern void egp_print(const u_char *, u_int, const u_char *); +extern void arcnet_if_print(u_char *, const struct pcap_pkthdr *, + const u_char *); extern void ether_if_print(u_char *, const struct pcap_pkthdr *, const u_char *); extern void token_if_print(u_char *, const struct pcap_pkthdr *, @@ -270,6 +270,9 @@ extern void cdp_print(const u_char *, u_int, u_int, const u_char *, const u_char *); extern void stp_print(const u_char *p, u_int length); extern void radius_print(const u_char *, u_int); +extern void lwres_print(const u_char *, u_int); +extern void pptp_print(const u_char *, u_int); +extern void sctp_print(const u_char *, const u_char *, u_int); #ifdef INET6 extern void ip6_print(const u_char *, int); @@ -284,3 +287,9 @@ extern void ospf6_print(const u_char *, u_int); extern void dhcp6_print(const u_char *, u_int, u_int16_t, u_int16_t); #endif /*INET6*/ extern u_short in_cksum(const u_short *, register int, u_short); + +#ifndef HAVE_BPF_DUMP +struct bpf_program; + +extern void bpf_dump(struct bpf_program *, int); +#endif