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

FixIPSrc Element Documentation

NAME

FixIPSrc -- Click element; sets IP source field if requested by annotation

SYNOPSIS

FixIPSrc(IPADDR)

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

DESCRIPTION

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.

NOTES

The Fix IP Source annotation is stored as user annotation 3.

SEE ALSO

ICMPError

Generated by 'click-elem2man' from '../elements/ip/fixipsrc.hh' on 27/Jan/2007.

COMMENTS

 
elements/fixipsrc.txt · Last modified: 2007/01/27 23:32 (external edit)
 
Recent changes RSS feed Driven by DokuWiki