Contiki 2.6

Best-effort multihop forwarding

The multihop module implements a multihop forwarding mechanism. More...

Files

file  multihop.h
 

Multihop forwarding header file.



Detailed Description

The multihop module implements a multihop forwarding mechanism.

Routes must have already been setup with the route_add() function. Setting up routes is done with another Rime module such as the route-discovery module.

The multihop sends a packet to an identified node in the network by using multi-hop forwarding at each node in the network. The application or protocol that uses the multihop primitive supplies a routing function for selecting the next-hop neighbor. If the multihop primitive is requested to send a packet for which no suitable next hop neighbor is found, the caller is immediately notified of this and may choose to initiate a route discovery process.

Channels

The multihop module uses 1 channel.