projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the host compiler for build tool c-ify.
[darkstat-debian]
/
acct.h
diff --git
a/acct.h
b/acct.h
index
3c2828b
..
0a4b261
100644
(file)
--- a/
acct.h
+++ b/
acct.h
@@
-1,5
+1,5
@@
/* darkstat 3
/* darkstat 3
- * copyright (c) 2001-201
1
Emil Mikulic.
+ * copyright (c) 2001-201
2
Emil Mikulic.
*
* acct.h: traffic accounting
*/
*
* acct.h: traffic accounting
*/
@@
-7,10
+7,12
@@
#include <stdint.h>
struct pktsummary;
#include <stdint.h>
struct pktsummary;
+struct local_ips;
extern uint64_t acct_total_packets, acct_total_bytes;
void acct_init_localnet(const char *spec);
extern uint64_t acct_total_packets, acct_total_bytes;
void acct_init_localnet(const char *spec);
-void acct_for(const struct pktsummary * const sm);
+void acct_for(const struct pktsummary * const sm,
+ const struct local_ips * const local_ips);
-/* vim:set ts=3 sw=3 tw=
78
expandtab: */
+/* vim:set ts=3 sw=3 tw=
80
expandtab: */