pf: add a comment to pf_kstate concerning compat with pf_state_cmp
Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
144ec0713d
commit
f9aa757d8d
@ -586,10 +586,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user