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
F158784179: D46596.id.diff
Fri, Jun 5, 10:01 PM
Unknown Object (File)
Fri, May 29, 5:50 PM
Unknown Object (File)
Wed, May 20, 6:51 PM
Unknown Object (File)
Fri, May 8, 7:48 PM
Unknown Object (File)
Fri, May 8, 4:08 AM
Unknown Object (File)
Apr 28 2026, 1:01 PM
Unknown Object (File)
Apr 24 2026, 3:46 PM
Unknown Object (File)
Apr 20 2026, 12:01 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 Not Applicable
Unit
Tests Not Applicable