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