File: main.h

package info (click to toggle)
pktstat 1.8.5-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 696 kB
  • sloc: ansic: 5,105; sh: 1,032; makefile: 34
file content (19 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* David Leonard, 2002. Public domain. */
/* $Id: main.h 1196 2007-09-04 13:49:33Z d $ */

extern int oneflag;	/* Writing one cycle to stdout */
extern int Bflag;	/* Show bytes instead of bits */
extern int cflag;	/* Keep pkt classes separate (no-combine) */
extern int Eflag;	/* Ignore errors from pcap (not documented) */
extern int Fflag;	/* Show full hostnames (not just first part of FQDN) */
extern int kflag;	/* 'Keep' time in seconds. */
extern int lflag;	/* last mode; keeps seen classes on screen */
extern double mflag;	/* fixed interface maximum in bps (0 means auto) */
extern int nflag;	/* no DNS lookups */
extern int pflag;	/* show packet count instead of bit/byte count */
extern int Pflag;	/* Disables promiscuous mode */
extern int tflag;	/* 'top' mode; sort display by bandwidth/packet count */
extern int Tflag;	/* Show totals */
extern int wflag;	/* wait time between refresh in seconds */

extern char version[];