X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f2f9bf3c93644e15e738a3294235ec8ec754460a..9bdbb51f4122817ca8bdba9fb9917969809ff451:/netdissect.h diff --git a/netdissect.h b/netdissect.h index a25d8538..cfe086e3 100644 --- a/netdissect.h +++ b/netdissect.h @@ -21,7 +21,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/netdissect.h,v 1.19 2005-09-29 07:45:22 hannes Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/netdissect.h,v 1.22 2006-05-05 23:13:00 guy Exp $ (LBL) */ #ifndef netdissect_h @@ -85,6 +85,7 @@ struct netdissect_options { int ndo_aflag; /* translate network and broadcast addresses */ int ndo_eflag; /* print ethernet header */ int ndo_fflag; /* don't translate "foreign" IP address */ + int ndo_Kflag; /* don't check TCP checksums */ int ndo_nflag; /* leave addresses as numbers */ int ndo_Nflag; /* remove domains from printed host names */ int ndo_qflag; /* quick (shorter) output */ @@ -106,6 +107,9 @@ struct netdissect_options { int ndo_Cflag; /* rotate dump files after this many bytes */ int ndo_Cflag_count; /* Keep track of which file number we're writing */ + int ndo_Gflag; /* rotate dump files after this many seconds */ + int ndo_Gflag_count; /* number of files created with Gflag rotation */ + time_t ndo_Gflag_time; /* The last time_t the dump file was rotated. */ int ndo_Wflag; /* recycle output files after this number of files */ int ndo_WflagChars; int ndo_suppress_default_print; /* don't use default_print() for unknown packet types */ @@ -231,7 +235,7 @@ extern char *copy_argv(netdissect_options *, char **); #endif extern void safeputchar(int); -extern void safeputs(const char *); +extern void safeputs(const char *, int); #if 0 extern const char *isonsap_string(netdissect_options *, const u_char *);