HomeFreeBSD

pf: Remove struct pf_pdesc->nat_rule

Description

pf: Remove struct pf_pdesc->nat_rule

The variable struct pd->nat_rule is set only during rule evaluation, that
is only for the first packet of a connection. Use struct pf_kstate->nat_rule
instead.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D46867

Details

Provenance
vegeta_tuxpowered.netAuthored on Oct 2 2024, 10:05 AM
kpCommitted on Oct 2 2024, 10:05 AM
Reviewer
kp
Differential Revision
D46867: pf: Remove struct pf_pdesc->nat_rule
Parents
rGc17a0f62da17: pf tests: use unique pid files for inetd processes
Branches
Unknown
Tags
Unknown