pub const GNRC_IPV6_NIB_ROUTE_INFO_TYPE_NSC: _bindgen_ty_10 = 3;
Expand description

@brief neighbor state change

A neighbor state change is issued when ever the NUD state of a neighbor changes. A routing protocol can use this call to update its information on routes via this neighbor.

The ctx_addr is the address of the neighbor, ctx is a value equal to the new NUD state as defined in [the NC info flags](@ref net_gnrc_ipv6_nib_nc_info). If the entry is deleted, ctx will be set to @ref GNRC_IPV6_NIB_NC_INFO_NUD_STATE_UNREACHABLE (except if it was already in the UNREACHABLE state). This does not include cache-outs, since they give no information about the neighbor’s reachability (you might however get an INCOMPLETE or STALE notification due to that, as soon as the neighbor enters the neighbor cache again).

Be advised to only use ctx_addr in the context of the callback, since it might be overwritten, after the callback was left.