_nib-6ln.h¶
Definitions related to 6Lo node (6LN) functionality of the NIB.
-
_ADDR_REG_STATUS_TENTATIVE
¶ Additional (local) status to ARO status values for tentative addresses.
1
(3)
-
_ADDR_REG_STATUS_IGNORE
¶ Additional (local) status to ARO status values for return values to signify that the address was ignored.
1
(4)
-
_ADDR_REG_STATUS_UNAVAIL
¶ Additional (local) status to ARO status values to signify that ARO is not available in NA.
1
(255)
Can be assigned to the variable that receives the return value of
_nib-6ln.h::_handle_aro()
, so that the case that an NA does not contain an ARO (e.g. because upstream router does not support it) can be dealt with.
-
uint32_t
_now_min
(void)¶
-
bool
_resolve_addr_from_ipv6
(const ipv6_addr_t * dst, gnrc_netif_t * netif, gnrc_ipv6_nib_nc_t * nce)¶ Resolves address statically from destination address using reverse translation of the IID.
Parameters
dst: A destination address. netif: The interface to dst
.nce: Neighbor cache entry to resolve into Return values
- true when
nce
was set, false when not.
- true when
-
uint32_t
_get_next_rs_interval
(const gnrc_netif_t * netif)¶ Calculates exponential backoff for RS retransmissions.
See also
Parameters
netif: The network interface that the RS will be sent over. Return values
- The interval in ms to the next RS
-
uint8_t
_handle_aro
(gnrc_netif_t * netif, const ipv6_hdr_t * ipv6, const icmpv6_hdr_t * icmpv6, const sixlowpan_nd_opt_ar_t * aro, const ndp_opt_t * sl2ao, _nib_onl_entry_t * nce)¶ Handles ARO.
Parameters
netif: The interface the ARO-carrying message came over. ipv6: The IPv6 header of the message carrying the ARO. icmpv6: The message carrying the ARO. aro: ARO that carries the address registration information. sl2ao: SL2AO associated with the ARO. nce: Neighbor cache entry the ARO is supposed to change. Return values
- registration status of the address (including
_nib-6ln.h::_ADDR_REG_STATUS_TENTATIVE
and_nib-6ln.h::_ADDR_REG_STATUS_IGNORE
).
- registration status of the address (including
-
void
_handle_rereg_address
(const ipv6_addr_t * addr)¶ Handler for
nib.h::GNRC_IPV6_NIB_REREG_ADDRESS
event handler.Parameters
addr: An IPv6 address.
-
_nib_abr_entry_t *
_handle_abro
(const sixlowpan_nd_opt_abr_t * abro)¶
-
uint32_t
_handle_6co
(const icmpv6_hdr_t * icmpv6, const sixlowpan_nd_opt_6ctx_t * sixco, _nib_abr_entry_t * abr)¶