Page MenuHomeFreeBSD

pf: simplify action resolution in pf_test_rule()
ClosedPublic

Authored by kp on Mar 28 2025, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 17, 2:47 AM
Unknown Object (File)
Mon, Apr 14, 3:34 PM
Unknown Object (File)
Mon, Apr 14, 12:31 PM
Unknown Object (File)
Sat, Apr 12, 3:05 AM
Unknown Object (File)
Tue, Apr 8, 10:01 AM
Unknown Object (File)
Tue, Apr 8, 10:01 AM
Unknown Object (File)
Fri, Apr 4, 5:42 AM
Unknown Object (File)
Apr 1 2025, 3:14 AM

Details

Summary

Rather than looking at state keys after the fact just save the action in the
nat64 section. This simplifies things and it also ensures we don't use state
keys after pf_insert_state().

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable