File: opt.h

package info (click to toggle)
darkstat 3.0.715-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 816 kB
  • sloc: ansic: 6,542; sh: 355; makefile: 172; php: 15
file content (43 lines) | stat: -rw-r--r-- 863 bytes parent folder | download
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
37
38
39
40
41
42
43
/* darkstat 3
 * copyright (c) 2001-2011 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;
extern const char *opt_interface;

/* vim:set ts=3 sw=3 tw=78 expandtab: */