esp_idf_hal::sys

Function esp_netif_get_netif_impl

Source
pub unsafe extern "C" fn esp_netif_get_netif_impl(
    esp_netif: *mut esp_netif_obj,
) -> *mut c_void
Expand description

@brief Returns network stack specific implementation handle (if supported)

Note that it is not supported to acquire PPP netif impl pointer and this function will return NULL for esp_netif instances configured to PPP mode

@param[in] esp_netif Handle to esp-netif instance

@return handle to related network stack netif handle