summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_DNAT.txlate
Commit message (Collapse)AuthorAgeFilesLines
* extensions: Merge IPv4 and IPv6 DNAT targetsPhil Sutter2022-04-081-0/+35
Make parse_to() family-aware so it serves for both IPv4 and IPv6. Have a core _DNAT_parse() function which parses into the most modern (nf_nat_range2) data structure and a bunch of wrappers to copy into legacy data structures if needed. Treat other callbacks analogous. Signed-off-by: Phil Sutter <phil@nwl.cc>