5d75cf3348e18d2d95f6da8940d64a3a79b671bd
[darkstat-debian] / opt.h
1 /* darkstat 3
2 * copyright (c) 2001-2011 Emil Mikulic.
3 *
4 * opt.h: global options
5 */
6
7 /*
8 * Capture options.
9 */
10 extern int opt_want_pppoe;
11 extern int opt_want_macs;
12 extern int opt_want_hexdump;
13 extern int opt_want_snaplen;
14 extern int opt_wait_secs;
15
16 /*
17 * Error/logging options.
18 */
19 extern int opt_want_verbose;
20 extern int opt_want_syslog;
21
22 /*
23 * Accounting options.
24 */
25 extern unsigned int opt_highest_port;
26 extern int opt_want_local_only;
27
28 /*
29 * Hosts table reduction - when the number of entries is about to exceed
30 * <max>, we reduce the table to the top <keep> entries.
31 */
32 extern unsigned int opt_hosts_max;
33 extern unsigned int opt_hosts_keep;
34 extern unsigned int opt_ports_max;
35 extern unsigned int opt_ports_keep;
36
37 /*
38 * Hosts output options.
39 */
40 extern int opt_want_lastseen;
41 extern const char *opt_interface;
42
43 /* vim:set ts=3 sw=3 tw=78 expandtab: */