Page MenuHomeFreeBSD

pf: do not pass af to PFLOG_PACKET
ClosedPublic

Authored by kp on Sep 7 2024, 9:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 24, 3:46 PM
Unknown Object (File)
Mon, Apr 20, 12:01 AM
Unknown Object (File)
Sun, Apr 12, 7:56 PM
Unknown Object (File)
Mar 25 2026, 1:45 AM
Unknown Object (File)
Mar 24 2026, 7:11 PM
Unknown Object (File)
Mar 18 2026, 4:44 PM
Unknown Object (File)
Mar 8 2026, 11:33 PM
Unknown Object (File)
Mar 5 2026, 4:38 AM

Details

Summary

Do not pass AF specific information to pf_test_rule() and PFLOG_PACKET()
because either the info is already available in struct pd or easy
to figure out. Makes pf_test() and pf_test6() even more similar
(with the target to remove one of them in the near future).
OK henning@

Obtained from: OpenBSD, claudio <claudio@openbsd.org>, 5480721ed1
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59384
Build 56271: arc lint + arc unit