This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

IPMirror Element Documentation

NAME

IPMirror -- Click element; swaps IP source and destination

SYNOPSIS

IPMirror([DST_ANNO])

Ports: 1 input, 1 output
Processing: agnostic
Package: ip (core)

DESCRIPTION

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.

COMMENTS

 
elements/ipmirror.txt · Last modified: 2010/02/28 13:58 (external edit)
 
Recent changes RSS feed Driven by DokuWiki