HomeFreeBSD

ipfilter: Add sysctl flag CTLFLAG_TUN to loader tunable

Description

ipfilter: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable net.inet.ipf.large_nat is actually a loader
tunable. Add sysctl flag CTLFLAG_TUN to it so that sysctl -T will
report it correctly.

No functional change intended.

Reviewed by: cy (for network)
Approved by: re (gjb)
Fixes: a805ffbcbce8 ipfilter: Make LARGE_NAT a tunable
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42005

(cherry picked from commit ba883e7a5ac43b27a373f2b1b0044fd2eb769d4e)
(cherry picked from commit a9359dcde241f17421a71bc8c96dee08625db9dd)

Details

Provenance
zleiAuthored on Sep 29 2023, 12:01 AM
Reviewer
rGa805ffbcbce8: ipfilter: Make LARGE_NAT a tunable.
Differential Revision
D42005: ipfilter: Add sysctl flag CTLFLAG_TUN to loader tunable
Parents
rGea3e5ee58560: ip_mroute: Fix sysctl knobs
Branches
Unknown
Tags
Unknown