riot_sys

Function netif_get_id

Source
pub unsafe extern "C" fn netif_get_id(netif: *const netif_t) -> i16
Expand description

@brief Gets the numeric identifier of an interface

@param[in] netif A network interface.

@return The numeric identifier of an interface @return -1 if @p netif is not registered