This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
DecIPTTL -- Click element; decrements IP time-to-live, drops dead packets
Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Package: ip (core)
Expects IP packet as input. If the ttl is <= 1 (i.e. has expired), DecIPTTL sends the packet to output 1 (or discards it if there is no output 1). Otherwise it decrements the ttl, re-calculates the checksum, and sends the packet to output 0. Ordinarily output 1 is connected to an ICMP error packet generator.
This is a typical IP input processing sequence:
... -> CheckIPHeader -> dt::DecIPTTL -> ... dt -> ICMPError(22.214.171.124, 11, 0) -> ...
Generated by 'click-elem2man' from '../elements/ip/decipttl.hh:8' on 12/Jul/2011.