-
Notifications
You must be signed in to change notification settings - Fork 14
/
opt.h
36 lines (29 loc) · 887 Bytes
/
opt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* darkstat 3
* copyright (c) 2001-2012 Emil Mikulic.
*
* opt.h: global options
*/
/* Capture options. */
extern int opt_want_pppoe;
extern int opt_want_macs;
extern int opt_want_hexdump;
extern int opt_want_snaplen;
extern int opt_wait_secs;
/* Error/logging options. */
extern int opt_want_verbose;
extern int opt_want_syslog;
/* Accounting options. */
extern unsigned int opt_highest_port;
extern int opt_want_local_only;
/* Hosts table reduction - when the number of entries is about to exceed
* <max>, we reduce the table to the top <keep> entries.
*/
extern unsigned int opt_hosts_max;
extern unsigned int opt_hosts_keep;
extern unsigned int opt_ports_max;
extern unsigned int opt_ports_keep;
/* Hosts output options. */
extern int opt_want_lastseen;
/* Initialized in cap.c, added to <title> */
extern char *title_interfaces;
/* vim:set ts=3 sw=3 tw=78 expandtab: */