riot_sys

Function gnrc_ipv6_nib_nc_mark_reachable

Source
pub unsafe extern "C" fn gnrc_ipv6_nib_nc_mark_reachable(
    ipv6: *const ipv6_addr_t,
)
Expand description

@brief Mark neighbor with address @p ipv6 as reachable

@pre ipv6 != NULL

@param[in] ipv6 A neighbor’s IPv6 address. Must not be NULL.

This function shall be called if an upper layer gets reachability confirmation via its own means (e.g. a TCP connection build-up or confirmation). Unmanaged neighbor cache entries (i.e. entries created using @ref gnrc_ipv6_nib_nc_set()) or entries whose next-hop are not yet in the neighbor cache are ignored.

Entries in state @ref GNRC_IPV6_NIB_NC_INFO_NUD_STATE_UNMANAGED are not affected by this, since they are assumed to always be reachable and kept out of the NUD state-machine