esp_idf_svc::sys

Function esp_netif_ppp_set_params

Source
pub unsafe extern "C" fn esp_netif_ppp_set_params(
    netif: *mut esp_netif_obj,
    config: *const esp_netif_ppp_config,
) -> i32
Expand description

@brief Sets common parameters for the supplied esp-netif.

@param[in] esp_netif Handle to esp-netif instance @param[in] config Pointer to PPP netif configuration structure

@return ESP_OK on success, ESP_ERR_ESP_NETIF_INVALID_PARAMS if the supplied netif is not of PPP type, or netif is null