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, Sep 12, 4:51 PM
Unknown Object (File)
Aug 14 2025, 11:34 PM
Unknown Object (File)
Aug 9 2025, 1:38 AM
Unknown Object (File)
Aug 9 2025, 1:38 AM
Unknown Object (File)
Aug 9 2025, 1:37 AM
Unknown Object (File)
Aug 6 2025, 5:46 AM
Unknown Object (File)
Jul 29 2025, 5:27 AM
Unknown Object (File)
Jul 6 2025, 8:09 PM

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