components/esp_netif/lwip/esp_netif_lwip.c
/**
 * @brief Check if supplied esp_netif handle is active, i.e. available within registered interfaces
 * as it might have already been destroyed. Returns the supplied handle if active, nullptr otherwise
 *
 * @param esp_netif handle to check if available in the list of registered interfaces
 * @return esp_netif handle if available, or NULL if it wasn't found
 */
@brief Check if supplied esp_netif handle is active, i.e. available within registered interfaces
as it might have already been destroyed. Returns the supplied handle if active, nullptr otherwise

@param esp_netif handle to check if available in the list of registered interfaces
@return esp_netif handle if available, or NULL if it wasn't found
@brief Check if supplied esp_netif handle is active i . e . available within registered interfaces as it might have already been destroyed . Returns the supplied handle if active nullptr otherwise @param esp_netif handle to check if available in the list of registered interfaces @return esp_netif handle if available or NULL if it wasn ' t found
static esp_netif_t* esp_netif_is_active(esp_netif_t *arg)
{
    if (esp_netif_is_netif_listed(arg)) {
        return arg;
    }
    return NULL;
}
static esp_netif_t * esp_netif_is_active ( esp_netif_t * arg ) { if ( esp_netif_is_netif_listed ( arg ) ) { return arg ; } return NULL ; }
@brief Check if supplied esp_netif handle is active, i.e.
@brief Check if supplied esp_netif handle is active i . e .
// looking for the netif in the list of registered interfaces //  as it might have already been destroyed