Function esp_idf_svc::sys::esp_netif_find_if
source ยท pub unsafe extern "C" fn esp_netif_find_if(
fn_: Option<unsafe extern "C" fn(_: *mut esp_netif_obj, _: *mut c_void) -> bool>,
ctx: *mut c_void,
) -> *mut esp_netif_obj
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