c0434ed6aa24bf7c2b40b1fcdd55816fb04fa1c9
[darkstat] / acct.h
1 /* darkstat 3
2 * copyright (c) 2001-2008 Emil Mikulic.
3 *
4 * acct.h: traffic accounting
5 */
6
7 #include <stdint.h>
8
9 struct pktsummary;
10
11 extern uint64_t total_packets, total_bytes;
12
13 void acct_init_localnet(const char *spec);
14 void acct_for(const struct pktsummary * const sm);
15
16 extern unsigned int highest_port;
17
18 /* vim:set ts=3 sw=3 tw=78 expandtab: */