riot_sys::bindgen

Function gnrc_netif_set_from_netdev

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

@brief Default operation for gnrc_netif_ops_t::set()

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

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

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