diff options
author | Kajetan Staszkiewicz <vegeta@tuxpowered.net> | 2023-05-29 19:35:58 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2023-05-30 12:28:57 +0000 |
commit | c45d6b0ec011d5c113e0f7dedfc0070e8464fbbc (patch) | |
tree | 0e874e3b485cb87328841692c9f34af7fc5cf986 /sys/net/pfvar.h | |
parent | 4bf98559d9d6fa7c3571d26ed6f2b18823e3a30b (diff) | |
download | src-c45d6b0ec011d5c113e0f7dedfc0070e8464fbbc.tar.gz src-c45d6b0ec011d5c113e0f7dedfc0070e8464fbbc.zip |
pfctl: Add missing state parameters in DIOCGETSTATESV2
Reviewed by: kp
Sponsored by: InnoGames GmbH
Different Revision: https://reviews.freebsd.org/D40259
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index c5923bc9abdf..2f2cc1632edc 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -976,7 +976,7 @@ _Static_assert(sizeof(struct pf_state_peer_export) == 32, "size incorrect"); struct pf_state_export { uint64_t version; -#define PF_STATE_VERSION 20210706 +#define PF_STATE_VERSION 20230404 uint64_t id; char ifname[IFNAMSIZ]; char orig_ifname[IFNAMSIZ]; @@ -1003,8 +1003,19 @@ struct pf_state_export { uint8_t sync_flags; uint8_t updates; uint16_t state_flags; + uint16_t qid; + uint16_t pqid; + uint16_t dnpipe; + uint16_t dnrpipe; + int32_t rtableid; + uint8_t min_ttl; + uint8_t set_tos; + uint16_t max_mss; + uint8_t set_prio[2]; + uint8_t rt; + char rt_ifname[IFNAMSIZ]; - uint8_t spare[110]; + uint8_t spare[72]; }; _Static_assert(sizeof(struct pf_state_export) == 384, "size incorrect"); |