Page MenuHomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl
ClosedPublic

Authored by kp on Apr 2 2021, 6:55 PM.
Tags
None
Referenced Files
F105968692: D29560.diff
Mon, Dec 23, 6:19 AM
Unknown Object (File)
Wed, Dec 11, 8:20 PM
Unknown Object (File)
Thu, Dec 5, 7:02 PM
Unknown Object (File)
Nov 12 2024, 4:59 AM
Unknown Object (File)
Nov 12 2024, 4:58 AM
Unknown Object (File)
Oct 31 2024, 5:20 AM
Unknown Object (File)
Oct 31 2024, 1:00 AM
Unknown Object (File)
Oct 24 2024, 2:59 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.