Page MenuHomeFreeBSD

pf: Add DIOCGETSTATENV
ClosedPublic

Authored by kp on May 13 2021, 11:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 5 2024, 7:51 PM
Unknown Object (File)
Oct 2 2024, 10:08 PM
Unknown Object (File)
Oct 2 2024, 9:18 PM
Unknown Object (File)
Oct 1 2024, 1:20 AM
Unknown Object (File)
Sep 5 2024, 11:11 AM
Unknown Object (File)
Aug 18 2024, 8:36 PM
Unknown Object (File)
Aug 13 2024, 9:22 PM
Unknown Object (File)
Aug 4 2024, 1:31 PM

Details

Summary

Add DIOCGETSTATENV, an nvlist-based alternative to DIOCGETSTATE.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39161
Build 36050: arc lint + arc unit

Event Timeline

kp requested review of this revision.May 13 2021, 11:48 AM
kp added a child revision: D30243: pf: Add DIOCGETSTATESNV.
eri added inline comments.
sys/netpfil/pf/pf_ioctl.c
2478

Minor: Why not just put all of these NV code in its own file.
pf_ioctl.c is quite large and would love to have more structure in the code and compartmentalisation while you doing this work.

sys/netpfil/pf/pf_ioctl.c
2478

That's a reasonable suggestion, but something I'd do in a separate commit. There are a bunch of these already (as well as kernel to public struct conversions for the old style ioctls) that need to be moved then.

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2021, 11:55 AM
Closed by commit rG1732afaa0dae: pf: Add DIOCGETSTATENV (authored by kp). · Explain Why
This revision was automatically updated to reflect the committed changes.