Page MenuHomeFreeBSD

pf: Split pf_map_addr()
ClosedPublic

Authored by vegeta_tuxpowered.net on Sep 24 2024, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 3:28 AM
Unknown Object (File)
Sun, Feb 9, 3:28 AM
Unknown Object (File)
Sun, Feb 9, 3:27 AM
Unknown Object (File)
Sun, Jan 26, 6:00 PM
Unknown Object (File)
Fri, Jan 24, 12:22 PM
Unknown Object (File)
Thu, Jan 23, 6:38 PM
Unknown Object (File)
Tue, Jan 21, 3:03 AM
Unknown Object (File)
Dec 9 2024, 2:05 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.Sep 30 2024, 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.