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

IPGWOptions Element Documentation

NAME

IPGWOptions -- Click element; processes router IP options

SYNOPSIS

IPGWOptions(MYADDR [, OTHERADDRS])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Package: ip (core)

DESCRIPTION

Process the IP options that should be processed by every router, not just when ip_dst refers to the current router. At the moment that amounts to Record Route and Timestamp (in particular, not the source route options). MYADDR is the router's IP address on the interface downstream from the element. Probably needs to be placed on the output path, since MYADDR must be the outgoing interface's IP address (rfc1812 4.2.2.2). Recomputes the IP header checksum if it modifies the packet. The optional OTHERADDRS argument should be a space-separated list of IP addresses containing the router's other interface addresses. It is used to implement the Timestamp option. The second output may be connected to an ICMPError to produce a parameter problem (type=12,code=0) message. IPGWOptions sets the param_off packet annotation so that ICMPError can set the Parameter Problem pointer to point to the erroneous byte.

SEE ALSO

ICMPError

Generated by 'click-elem2man' from '../elements/ip/ipgwoptions.hh' on 20/Feb/2006.

COMMENTS

 
elements/ipgwoptions.txt · Last modified: 2006/02/20 10:41 (external edit)
 
Recent changes RSS feed Driven by DokuWiki