-
Notifications
You must be signed in to change notification settings - Fork 321
IPMirror
IPMirror — Click element; swaps IP source and destination
IPMirror([DST_ANNO])
Ports: 1 input, 1 output
Processing: agnostic
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:6
on 2017/10/17.