Function esp_idf_sys::esp_netif_receive
source ยท pub unsafe extern "C" fn esp_netif_receive(
esp_netif: *mut esp_netif_t,
buffer: *mut c_void,
len: usize,
eb: *mut c_void,
) -> esp_err_t
Expand description
@brief Passes the raw packets from communication media to the appropriate TCP/IP stack
This function is called from the configured (peripheral) driver layer. The data are then forwarded as frames to the TCP/IP stack.
@param[in] esp_netif Handle to esp-netif instance @param[in] buffer Received data @param[in] len Length of the data frame @param[in] eb Pointer to internal buffer (used in Wi-Fi driver)
@return - ESP_OK