Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
F157230157: D29560.id87026.diff
Tue, May 19, 12:51 PM
F157215307: D29560.id.diff
Tue, May 19, 10:05 AM
F157183900: D29560.id87185.diff
Tue, May 19, 2:31 AM
Unknown Object (File)
Mon, May 18, 10:07 AM
Unknown Object (File)
Sun, May 17, 4:55 PM
Unknown Object (File)
Sat, May 16, 8:16 PM
Unknown Object (File)
Mon, May 11, 3:57 AM
Unknown Object (File)
Mon, May 11, 3:57 AM

Details

Summary

Create wrapper functions to handle the parsing of the nvlist and move
that code into pfctl_ioctl.c.
At some point this should be moved into a libpfctl.

MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

Rebase

  • remove rt_listid
  • Return qid/pqid (which pfctl can display for debugging)
This revision was not accepted when it landed; it landed in state Needs Review.Apr 10 2021, 9:17 AM
This revision was automatically updated to reflect the committed changes.