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

LookupGeographicGridRoute Element Documentation


LookupGeographicGridRoute -- Click element;


LookupGeographicGridRoute(ETH, IP, GRIDROUTES, LOCINFO)

Ports: 1 input, 2 outputs
Processing: push
Drivers: userlevel
Package: grid (core)


Forward packets geographically according to the tables accumulated by the UpdateGridRoutes element, and the node's own position as reported by the GridLocationInfo element. MAC-ADDRESS and IP-ADDRESS are the local machine's addresses. Input 0 expects Grid packets with MAC headers. Assumes packets aren't for us. Output 0 pushes out packets to be sent by a device, with next hop info filled in. These will be Grid packets with MAC headers. Output packets have their paint annotation set to the output interface number, e.g. for use with PaintSwitch. Output 1 is the error output: it pushes out packets the LookupGeographicGridRoute doesn't know how to handle (e.g. we don't know how to route around a hole, or we don't know our own location), or are bad (e.g. some type we don't know how to handle). These will also be Grid packets with MAC headers.


LookupLocalGridRoute GridGenericRouteTable GridLocationInfo Paint PaintSwitch

Generated by 'click-elem2man' from '../elements/grid/lookupgeogridroute.hh' on 7/Mar/2009.


elements/lookupgeographicgridroute.txt · Last modified: 2009/03/07 17:24 (external edit)
Recent changes RSS feed Driven by DokuWiki