HomeFreeBSD

pf: Mark struct pf_pdesc as kernel only

Description

pf: Mark struct pf_pdesc as kernel only

This structure is only used by the kernel module internally. It's not
shared with user space, so hide it behind #ifdef _KERNEL.

Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 29698ed904737ebfd139a21e39e5421cf81badd8)

Details

Provenance
kpAuthored on Mar 3 2021, 9:28 AM
Parents
rG97358891aa6a: Work around bogus old gcc "initializer element is not constant" error
Branches
Unknown
Tags
Unknown