File: opt.h

package info (click to toggle)
darkstat 3.0.722-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: ansic: 7,585; sh: 660; javascript: 213; makefile: 174; php: 15
file content (36 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (5)
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: */