FreeBSD Bugzilla – Attachment 243343 Details for
Bug 272455
pf(4) manpage lists wrong definition for pfi_kif
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update pfi_kif
pf(4).diff (text/plain), 1.54 KB, created by
alex
on 2023-07-11 22:10:20 UTC
(
hide
)
Description:
Update pfi_kif
Filename:
MIME Type:
Creator:
alex
Created:
2023-07-11 22:10:20 UTC
Size:
1.54 KB
patch
obsolete
>diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 >index 133e4d300043..1bc4b7e061e3 100644 >--- a/share/man/man4/pf.4 >+++ b/share/man/man4/pf.4 >@@ -1094,21 +1094,21 @@ The data is returned in the > structure described below: > .Bd -literal > struct pfi_kif { >- RB_ENTRY(pfi_kif) pfik_tree; >- char pfik_name[IFNAMSIZ]; >- 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; >- struct ifnet *pfik_ifp; >- struct ifg_group *pfik_group; >- int pfik_states; >- int pfik_rules; >- TAILQ_HEAD(, pfi_dynaddr) pfik_dynaddrs; >+ char pfik_name[IFNAMSIZ]; >+ union { >+ RB_ENTRY(pfi_kif) _pfik_tree; >+ LIST_ENTRY(pfi_kif) _pfik_list; >+ } _pfik_glue; >+#define pfik_tree _pfik_glue._pfik_tree >+#define pfik_list _pfik_glue._pfik_list >+ u_int64_t pfik_packets[2][2][2]; >+ u_int64_t pfik_bytes[2][2][2]; >+ u_int32_t pfik_tzero; >+ u_int pfik_flags; >+ struct ifnet *pfik_ifp; >+ struct ifg_group *pfik_group; >+ u_int pfik_rulerefs; >+ TAILQ_HEAD(, pfi_dynaddr) pfik_dynaddrs; > }; > .Ed > .It Dv DIOCSETIFFLAG Fa "struct pfioc_iface *io"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272455
: 243343