Function esp_idf_sys::esp_netif_find_if
source ยท pub unsafe extern "C" fn esp_netif_find_if(
fn_: esp_netif_find_predicate_t,
ctx: *mut c_void,
) -> *mut esp_netif_t
Expand description
@brief Return a netif pointer for the first interface that meets criteria defined by the callback
@param fn Predicate function returning true for the desired interface @param ctx Context pointer passed to the predicate, typically a descriptor to compare with @return valid netif pointer if found, NULL if not