-
Notifications
You must be signed in to change notification settings - Fork 81
FixIPSrc
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
FixIPSrc — Click element; sets IP source field if requested by annotation
FixIPSrc(IPADDR)
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
Expects an IP packet as input. If its Fix IP Source annotation is set, then changes its IP source address field to IPADDR and recomputes the checksum. Used by elements such as ICMPError that are required by standards to use the IP address on the outgoing interface as the source. Such elements must set ip_src to something reasonable in case the outgoing interface has no IP address.
Also clears the Fix IP Source annotation.
The Fix IP Source annotation is stored as user annotation 3.
Generated by click-elem2man from ../elements/ip/fixipsrc.hh:7
on 2018/10/03.