diff options
author | Kristof Provost <kp@FreeBSD.org> | 2023-07-12 09:43:43 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2023-07-19 07:26:59 +0000 |
commit | 73a079021a6921ac3ff8ea4b2baca5ddb13de645 (patch) | |
tree | 9443910b3ed61ae832440ec56c6f797a92052f96 | |
parent | a710a3f13da34aa5fd26eb9c6b33381aff6f38b8 (diff) | |
download | src-73a079021a6921ac3ff8ea4b2baca5ddb13de645.tar.gz src-73a079021a6921ac3ff8ea4b2baca5ddb13de645.zip |
pf: fix pfi_kif definition in the man page
PR: 272455
Submitted by: alex@inferiorhumanorgans.com
MFC after: 1 week
(cherry picked from commit 64b30b7aeb6d0dc48d038b3df033328c8d8c3141)
-rw-r--r-- | share/man/man4/pf.4 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index 133e4d300043..8f25b7c7aebd 100644 --- a/share/man/man4/pf.4 +++ b/share/man/man4/pf.4 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 7, 2021 +.Dd July 12, 2023 .Dt PF 4 .Os .Sh NAME @@ -1094,20 +1094,18 @@ The data is returned in the structure described below: .Bd -literal struct pfi_kif { - RB_ENTRY(pfi_kif) pfik_tree; char pfik_name[IFNAMSIZ]; + union { + RB_ENTRY(pfi_kif) pfik_tree; + LIST_ENTRY(pfi_kif) pfik_list; + }; u_int64_t pfik_packets[2][2][2]; u_int64_t pfik_bytes[2][2][2]; u_int32_t pfik_tzero; - int pfik_flags; - struct pf_state_tree_lan_ext pfik_lan_ext; - struct pf_state_tree_ext_gwy pfik_ext_gwy; - TAILQ_ENTRY(pfi_kif) pfik_w_states; - void *pfik_ah_cookie; + u_int pfik_flags; struct ifnet *pfik_ifp; struct ifg_group *pfik_group; - int pfik_states; - int pfik_rules; + u_int pfik_rulerefs; TAILQ_HEAD(, pfi_dynaddr) pfik_dynaddrs; }; .Ed |