This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
TCPRewriter -- Click element; rewrites TCP packets' addresses, ports, and sequence numbers
TCPRewriter(INPUTSPEC1, ..., INPUTSPECn [, KEYWORDS])
Ports: 1 or more inputs, 1-256 outputs
Processing: push
Package: tcpudp (core)
Rewrites TCP flows by changing their source address, source port, destination address, and/or destination port, and optionally, their sequence numbers and acknowledgement numbers. It also changes the destination IP address annotation; see the DST_ANNO keyword argument below. This element is an IPRewriter-like element. Please read the IPRewriter documentation for more information and a detailed description of its INPUTSPEC arguments. In addition to IPRewriter's functionality, the TCPRewriter element can add or subtract amounts from incoming packets' sequence and acknowledgement numbers, including any SACK acknowledgement numbers. Each newly created mapping starts with these deltas at zero; other elements can request changes to a given mapping. For example, FTPPortMapper uses this facility. Keyword arguments determine how often stale mappings should be removed.
IPRewriter, IPAddrRewriter, IPAddrPairRewriter, IPRewriterPatterns, FTPPortMapper
Generated by 'click-elem2man' from '../elements/tcpudp/tcprewriter.hh' on 24/May/2007.