Forwarding engine.
More...
Forwarding engine.
- Author
- Thomas Watteyne watte.nosp@m.yne@.nosp@m.eecs..nosp@m.berk.nosp@m.eley..nosp@m.edu, August 2010
| #define RPL_HOPBYHOP_HEADER_OPTION_TYPE 0x63 |
| Enumerator |
|---|
| PCKTFORWARD |
|
| PCKTSEND |
|
| Enumerator |
|---|
| O_FLAG |
|
| R_FLAG |
|
| F_FLAG |
|
| END_PACK void forwarding_init |
( |
void |
| ) |
|
Indicates a packet was received.
- Parameters
-
| [in,out] | msg | The packet just sent. |
| [in] | ipv6_header | The information contained in the IPv6 header. |
| [in] | ipv6_hop_header | The hop-by-hop header present in the packet. |
| [in] | rpl_option | The hop-by-hop options present in the packet. |
Send a packet originating at this mote.
This function is called by an upper layer, and only concerns packets originated at this mote.
- Parameters
-
| [in,out] | msg | Packet to send. |
Indicates a packet has been sent.
- Parameters
-
| [in,out] | msg | The packet just sent. |
| [in] | error | The outcome of sending it. |