Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
F96229775: D29560.diff
Tue, Sep 24, 3:55 AM
Unknown Object (File)
Tue, Sep 17, 2:19 AM
Unknown Object (File)
Sun, Sep 15, 4:38 AM
Unknown Object (File)
Sun, Sep 15, 2:15 AM
Unknown Object (File)
Sat, Sep 14, 6:40 PM
Unknown Object (File)
Sat, Sep 14, 1:03 PM
Unknown Object (File)
Mon, Sep 9, 2:48 AM
Unknown Object (File)
Sun, Sep 8, 9:23 PM

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 38406
Build 35295: 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.