FastClick

Elements / Address translation

ThreadIPMapper

thread-based mapper for [IPRewriter](IPRewriter)

SYNOPSIS§

ThreadIPMapper(PATTERN1, ..., PATTERNn)

Ports: none

DESCRIPTION§

Works in tandem with IPRewriter to provide per-thread rewriting. This is useful, for example, to write port-dependent NAT. Implements the IPMapper interface.

Responds to mapping requests from an IPRewriter by choosing a PATTERN according to the current thread.

SEE ALSO§

IPRewriter, TCPRewriter, IPRewriterPatterns, RoundRobinIPMapper

Generated by click-elem2man from ../elements/ip/threadipmapper.hh:6 on 2026/11/02.