SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
sysutils/pftop/patches/patch-cache_h
Normal file
24
sysutils/pftop/patches/patch-cache_h
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- 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);
|
Loading…
Add table
Add a link
Reference in a new issue