riot_sys::bindgen

Function gnrc_netif_get_by_pid

Source
pub unsafe extern "C" fn gnrc_netif_get_by_pid(
    pid: kernel_pid_t,
) -> *mut gnrc_netif_t
Expand description

@brief Get network interface by PID

@param[in] pid A PID of a network interface.

@return The network interface on success. @return NULL, if no network interface with PID exists.