Function esp_idf_svc::sys::esp_netif_napt_enable
source ยท pub unsafe extern "C" fn esp_netif_napt_enable(
esp_netif: *mut esp_netif_obj,
) -> i32
Expand description
@brief Enable NAPT on an interface
@note Enable operation can be performed only on one interface at a time. NAPT cannot be enabled on multiple interfaces according to this implementation.
@param[in] esp_netif Handle to esp-netif instance
@return - ESP_OK - ESP_FAIL - ESP_ERR_NOT_SUPPORTED