Page MenuHomeFreeBSD

pf: Move nvlist conversion functions to pf_nv
ClosedPublic

Authored by kp on May 20 2021, 3:04 PM.
Tags
None
Referenced Files
F152088719: D30359.id89535.diff
Sun, Apr 12, 3:58 PM
F151979319: D30359.diff
Sat, Apr 11, 9:54 PM
Unknown Object (File)
Sat, Apr 11, 3:38 PM
Unknown Object (File)
Sat, Apr 11, 1:05 PM
Unknown Object (File)
Feb 28 2026, 5:22 PM
Unknown Object (File)
Feb 28 2026, 2:09 AM
Unknown Object (File)
Feb 13 2026, 5:38 PM
Unknown Object (File)
Feb 8 2026, 8:11 AM

Details

Summary

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")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable