aboutsummaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index b6a2045473ec..f1d085bba664 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -578,10 +578,16 @@ _Static_assert(sizeof(struct pf_state_export) == 384, "size incorrect");
#ifdef _KERNEL
struct pf_kstate {
+ /*
+ * Area shared with pf_state_cmp
+ */
u_int64_t id;
u_int32_t creatorid;
u_int8_t direction;
u_int8_t pad[3];
+ /*
+ * end of the area
+ */
u_int refs;
TAILQ_ENTRY(pf_kstate) sync_list;