Skip to content
Eddie Kohler edited this page Oct 18, 2017 · 2 revisions

SendGridLRHello Element Documentation

NAME

SendGridLRHello — Click element;

SYNOPSIS

SendGridLRHello(PERIOD, JITTER, ETH, IP, UpdateGridRoutes [, MAXHOPS])

Ports: no inputs, 1 output
Processing: push
Drivers: userlevel

DESCRIPTION

Every PERIOD millseconds (+/- a jitter bounded by JITTER milliseconds), emit a Grid protocol ``LR_HELLO'' packet for the Grid node at address IP with MAC address ETH, advertising any neighbors within MAXHOPS of the node, as reported by the UpdateGridRoutes element named by the 5th argument. MAXHOPS defaults to 1. PERIOD must be greater than 0, JITTER must be positive and less than PERIOD. Produces Grid packets with MAC headers.

EXAMPLES

SendGridLRHello(500, 100, 00:E0:98:09:27:C5, 18.26.4.115, nel) -> ? -> ToDevice(eth0)

SEE ALSO

UpdateGridRoutes, LookupLocalGridRoute

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

Clone this wiki locally