This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
LinuxIPLookup -- Click element; interface to Linux's routing table
LinuxIPLookup(if0, if1, ..., ifN)
Ports: 1 input, 1 or more outputs
Package: ip (core)
Looks up each packet's destination annotation address in the Linux routing table. Replaces the annotation with the routing table entry's gateway field (if non-zero). Emits the packet on an output that depends on the Linux interface device mentioned in the routing table entry: if the device name is the Ith configuration argument, the element sends the packet on output I (zero origin). If the packet can't be routed, the element emits it on the output with number equal to the number of configuration arguments. A packet can't be routed if there is no matching routing table entry, or if the device mentioned in the Linux routing table isn't mentioned in the configuration. If run outside the kernel, the element reads the routing table just once (at startup) from /proc/net/route.
r : LinuxIPLookup(eth0, eth1) r -> ... -> ToDevice(eth0) r -> ... -> ToDevice(eth1) r -> ICMPError(22.214.171.124, 3, 0) -> ...
Generated by 'click-elem2man' from '../elements/ip/lookupiproutelinux.hh:7' on 12/Jul/2011.