Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 11, 11:21 AM
Unknown Object (File)
Sun, Jul 6, 9:53 AM
Unknown Object (File)
Sun, Jul 6, 8:03 AM
Unknown Object (File)
Fri, Jul 4, 10:41 PM
Unknown Object (File)
Fri, Jul 4, 4:05 PM
Unknown Object (File)
Wed, Jul 2, 10:08 PM
Unknown Object (File)
Wed, Jul 2, 5:24 AM
Unknown Object (File)
Sun, Jun 29, 8:35 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.