Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
F132241893: D29560.id87026.diff
Wed, Oct 15, 2:59 AM
F132241891: D29560.id86762.diff
Wed, Oct 15, 2:59 AM
F132241886: D29560.id.diff
Wed, Oct 15, 2:59 AM
F132241882: D29560.id87185.diff
Wed, Oct 15, 2:59 AM
F132201691: D29560.diff
Tue, Oct 14, 5:56 PM
Unknown Object (File)
Wed, Oct 1, 1:59 AM
Unknown Object (File)
Tue, Sep 30, 12:00 PM
Unknown Object (File)
Sat, Sep 27, 11:44 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
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.