Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
F171062729: D29560.id87026.diff
Tue, Sep 8, 11:46 AM
Unknown Object (File)
Mon, Sep 7, 1:05 AM
Unknown Object (File)
Sat, Aug 29, 9:01 PM
Unknown Object (File)
Wed, Aug 19, 10:55 AM
Unknown Object (File)
Tue, Aug 11, 4:37 PM
Unknown Object (File)
Tue, Aug 11, 3:05 AM
Unknown Object (File)
Mon, Aug 10, 9:31 PM
Unknown Object (File)
Aug 9 2026, 1:29 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.