riot_sys

Function gnrc_netif_get_from_netdev

Source
pub unsafe extern "C" fn gnrc_netif_get_from_netdev(
    netif: *mut gnrc_netif_t,
    opt: *mut gnrc_netapi_opt_t,
) -> c_int
Expand description

@brief Default operation for gnrc_netif_ops_t::get()

@note Can also be used to be called after a custom operation.

@param[in] netif The network interface. @param[out] opt The option parameters.

@return Return value of netdev_driver_t::get() of gnrc_netif_t::dev of @p netif.