This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
IPMirror -- Click element; swaps IP source and destination
Ports: 1 input, 1 output
Package: ip (core)
Incoming packets must have their IP header annotations set. Swaps packets' source and destination IP addresses. Packets containing TCP or UDP headers---that is, first fragments of packets with protocol 6 or 17---also have their source and destination ports swapped. TCP packets also have their seq and ack numbers swapped. The IP and TCP or UDP checksums are not changed. They don't need to be; these swap operations do not affect checksums. By default the output packet's destination address annotation is set to the new destination address. Pass "false" for the DST_ANNO argument to leave the annotation as is. DST_ANNO defaults to true.
Generated by 'click-elem2man' from '../elements/ip/ipmirror.hh' on 28/Feb/2010.