Page MenuHomeFreeBSD

pf: Split pf_map_addr()
ClosedPublic

Authored by vegeta_tuxpowered.net on Tue, Sep 24, 4:57 PM.
Tags
None
Referenced Files
F97626108: D46776.diff
Mon, Sep 30, 10:57 AM
Unknown Object (File)
Fri, Sep 27, 12:44 AM
Unknown Object (File)
Thu, Sep 26, 9:22 PM
Unknown Object (File)
Thu, Sep 26, 9:22 PM
Unknown Object (File)
Thu, Sep 26, 9:11 PM
Unknown Object (File)
Thu, Sep 26, 2:55 AM

Details

Summary

Split pf_map_addr() into 2 functions:

  • pf_map_addr() handles just the address mapping algorithms, it is used in pf_route() and pf_route6() in case of stateless route-to, where source nodes would never be created
  • pf_map_addr_sn() handles source nodes and calls pf_map_addr() for address mapping algorightms, it is used everywhere else, like NAT rules, which are always stateful

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Sep 30, 10:57 AM
Closed by commit rG8e3d252901e8: pf: Split pf_map_addr() (authored by vegeta_tuxpowered.net, committed by kp). · Explain Why
This revision was automatically updated to reflect the committed changes.