HomeFreeBSD

pf: Move nvlist conversion functions to pf_nv

Description

pf: Move nvlist conversion functions to pf_nv

Separate the conversion functions (between kernel structs and nvlists)
to pf_nv. This reduces the size of pf_ioctl.c, which is already quite
large and complex, a good bit. It also keeps all the fairly
straightforward conversion code together.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30359

(cherry picked from commit 3032c353882aa70a461ef251b8aa6c59a0829ec5)

Details

Provenance
kpAuthored on May 18 2021, 7:24 AM
Differential Revision
D30359: pf: Move nvlist conversion functions to pf_nv
Parents
rG434ffdacd556: run(4): fix manual after d6fd321ef60d43dce9f437187c94a7de2b91ab69.
Branches
Unknown
Tags
Unknown