riot_sys::bindgen

Function netif_iter

Source
pub unsafe extern "C" fn netif_iter(
    last: *const netif_t,
) -> *mut netif_t
Expand description

@brief Iterator for the interfaces

Returns interface after @p last. To start use last == NULL.

@param[in] last The previous interface. Use NULL to start iteration.

@return next network interface. @return NULL, if there is no interface after @p last