pub unsafe extern "C" fn esp_netif_transmit(
esp_netif: *mut esp_netif_t,
data: *mut c_void,
len: usize,
) -> esp_err_t
Expand description
@brief Outputs packets from the TCP/IP stack to the media to be transmitted
This function gets called from network stack to output packets to IO driver.
@param[in] esp_netif Handle to esp-netif instance @param[in] data Data to be transmitted @param[in] len Length of the data frame
@return ESP_OK on success, an error passed from the I/O driver otherwise