Skip to content

LookupGeographicGridRoute

Eddie Kohler edited this page Oct 17, 2017 · 1 revision

LookupGeographicGridRoute Element Documentation

NAME

LookupGeographicGridRoute — Click element;

SYNOPSIS

LookupGeographicGridRoute(ETH, IP, GRIDROUTES, LOCINFO)

Ports: 1 input, 2 outputs
Processing: push
Drivers: userlevel

DESCRIPTION

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.

SEE ALSO

LookupLocalGridRoute GridGenericRouteTable GridLocationInfo Paint PaintSwitch

Generated by click-elem2man from ../elements/grid/lookupgeogridroute.hh:4 on 2017/10/17.

Clone this wiki locally