Neighbor Discovery Optimization for 6LoWPAN.
More...
Neighbor Discovery Optimization for 6LoWPAN.
- See also
- RFC 6775
|
file | nd.h |
| General 6LoWPAN ND definitions.
|
|
|
gnrc_pktsnip_t * | gnrc_sixlowpan_nd_opt_ar_build (uint8_t status, uint16_t ltime, eui64_t *eui64, gnrc_pktsnip_t *next) |
| Builds the address registration option.
|
|
gnrc_pktsnip_t * | gnrc_sixlowpan_nd_opt_6ctx_build (uint8_t prefix_len, uint8_t flags, uint16_t ltime, ipv6_addr_t *prefix, gnrc_pktsnip_t *next) |
| Builds the 6LoWPAN context option.
|
|
gnrc_pktsnip_t * | gnrc_sixlowpan_nd_opt_abr_build (uint32_t version, uint16_t ltime, ipv6_addr_t *braddr, gnrc_pktsnip_t *next) |
| Builds the authoritative border router option.
|
|
◆ gnrc_sixlowpan_nd_opt_6ctx_build()
Builds the 6LoWPAN context option.
- Parameters
-
[in] | prefix_len | The length of the context's prefix. |
[in] | flags | Flags + CID for the context. |
[in] | ltime | Lifetime of the context. |
[in] | prefix | The context's prefix |
[in] | next | More options in the packet. NULL, if there are none. |
- Returns
- The pkt snip list of options, on success
-
NULL, if packet buffer is full or on error
◆ gnrc_sixlowpan_nd_opt_abr_build()
Builds the authoritative border router option.
- Parameters
-
[in] | version | Version of the border router information. |
[in] | ltime | Registration lifetime for the border router. |
[in] | braddr | The IPv6 address of the border router. |
[in] | next | More options in the packet. NULL, if there are none. |
- Returns
- The pkt snip list of options, on success
-
NULL, if packet buffer is full or on error
◆ gnrc_sixlowpan_nd_opt_ar_build()
Builds the address registration option.
- Parameters
-
[in] | status | Status for the ARO. |
[in] | ltime | Registration lifetime for the ARO. |
[in] | eui64 | The EUI-64 for the ARO |
[in] | next | More options in the packet. NULL, if there are none. |
- Returns
- The pkt snip list of options, on success
-
NULL, if packet buffer is full