HomeFreeBSD

netpfil: add PF netlink command decoding support

Description

netpfil: add PF netlink command decoding support

Convert PFNL_CMD values in pf_nl.h from an enum to #define constants,
add a pfnl_cmd table definition for mktable, and implement the
corresponding command decoding helpers in libsysdecode.

This allows mktable to generate PF netlink command lookup tables and
enables symbolic decoding of PF netlink commands.

Reviewed by: kp
Signed-off-by: Ishan Agrawal <iagrawal9990@gmail.com>
Sponsored by: Google LLC (GSoC 2026)

Details

Provenance
iagrawal9990_gmail.comAuthored on Jun 1 2026, 12:24 PM
kpCommitted on Jun 3 2026, 8:52 AM
Parents
rG309fc9f76591: cxgbe(4): Use correct FID in KTLS tx work requests
Branches
Unknown
Tags
Unknown