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.
#define MULTIHOP_ATTRIBUTES |
Value:
Definition: packetbuf.h:370
#define PACKETBUF_ATTR_BIT
Definition: packetbuf.h:444
Definition: packetbuf.h:380
#define UNICAST_ATTRIBUTES
Definition: unicast.h:69
#define PACKETBUF_ADDRSIZE
Definition: packetbuf.h:446
Definition: packetbuf.h:379