Function esp_idf_sys::esp_netif_next_unsafe
source · pub unsafe extern "C" fn esp_netif_next_unsafe(
esp_netif: *mut esp_netif_t,
) -> *mut esp_netif_t
Expand description
@brief Iterates over list of interfaces without list locking. Returns first netif if NULL given as parameter
Used for bulk search loops within TCPIP context, e.g. using esp_netif_tcpip_exec(), or if we’re sure that the iteration is safe from our application perspective (e.g. no interface is removed between iterations)
@param[in] esp_netif Handle to esp-netif instance
@return First netif from the list if supplied parameter is NULL, next one otherwise