24 lines
550 B
Text
24 lines
550 B
Text
--- cache.h.orig Wed Nov 7 06:34:18 2007
|
|
+++ cache.h Thu Dec 8 13:03:20 2011
|
|
@@ -31,14 +31,21 @@
|
|
struct sc_ent {
|
|
RB_ENTRY(sc_ent) tlink;
|
|
TAILQ_ENTRY(sc_ent) qlink;
|
|
+#ifdef HAVE_PFSYNC_STATE
|
|
+ u_int64_t id;
|
|
+ u_int32_t creatorid;
|
|
+#else
|
|
struct pf_addr addr[2];
|
|
+#endif
|
|
double peak;
|
|
double rate;
|
|
time_t t;
|
|
u_int32_t bytes;
|
|
+#ifndef HAVE_PFSYNC_STATE
|
|
u_int16_t port[2];
|
|
u_int8_t af;
|
|
u_int8_t proto;
|
|
+#endif
|
|
};
|
|
|
|
int cache_init(int);
|