diff options
author | fenner <fenner@FreeBSD.org> | 1998-09-15 19:36:32 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1998-09-15 19:36:32 +0000 |
commit | 577b5b88b39bedc51620403e37d7e98cceb75351 (patch) | |
tree | 0337896435e9b66ef64657e2d16795d6742ade2e /contrib/tcpdump/interface.h | |
parent | bb4a1148ba09f0189b5e65fcea051398897f2e65 (diff) | |
parent | cfc42b58f229425374e675f86614cf26ffa356e4 (diff) | |
download | FreeBSD-src-577b5b88b39bedc51620403e37d7e98cceb75351.zip FreeBSD-src-577b5b88b39bedc51620403e37d7e98cceb75351.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/interface.h')
-rw-r--r-- | contrib/tcpdump/interface.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/tcpdump/interface.h b/contrib/tcpdump/interface.h index 0b14a0a..7ccb3f5 100644 --- a/contrib/tcpdump/interface.h +++ b/contrib/tcpdump/interface.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996 + * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: interface.h,v 1.100 96/12/10 22:55:04 leres Exp $ (LBL) + * @(#) $Header: interface.h,v 1.105 97/04/26 13:39:58 leres Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -34,8 +34,10 @@ struct tok { char *s; /* string */ }; +extern int aflag; /* translate network and broadcast addresses */ extern int dflag; /* print filter code */ extern int eflag; /* print ethernet header */ +extern int fflag; /* don't translate "foreign" IP address */ extern int nflag; /* leave addresses as numbers */ extern int Nflag; /* remove domains from printed host names */ extern int qflag; /* quick (shorter) output */ @@ -130,13 +132,11 @@ struct timeval; #endif extern void ts_print(const struct timeval *); -extern int32_t gmt2local(void); extern int fn_print(const u_char *, const u_char *); extern int fn_printn(const u_char *, u_int, const u_char *); extern const char *tok2str(const struct tok *, const char *, int); extern char *dnaddr_string(u_short); -extern char *savestr(const char *); extern void wrapup(int); @@ -193,8 +193,13 @@ extern void null_if_print(u_char *, const struct pcap_pkthdr *, const u_char *); extern void ospf_print(const u_char *, u_int, const u_char *); extern void pim_print(const u_char *, u_int); extern void ppp_if_print(u_char *, const struct pcap_pkthdr *, const u_char *); +extern void ppp_bsdos_if_print(u_char *, const struct pcap_pkthdr *, + const u_char *); +extern void raw_if_print(u_char *, const struct pcap_pkthdr *, const u_char *); extern void rip_print(const u_char *, u_int); extern void sl_if_print(u_char *, const struct pcap_pkthdr *, const u_char *); +extern void sl_bsdos_if_print(u_char *, const struct pcap_pkthdr *, + const u_char *); extern void snmp_print(const u_char *, u_int); extern void sunrpcrequest_print(const u_char *, u_int, const u_char *); extern void tcp_print(const u_char *, u_int, const u_char *); |