Function esp_idf_sys::esp_wifi_internal_reg_netstack_buf_cb

source ยท
pub unsafe extern "C" fn esp_wifi_internal_reg_netstack_buf_cb(
    ref_: wifi_netstack_buf_ref_cb_t,
    free: wifi_netstack_buf_free_cb_t,
) -> esp_err_t
Expand description

@brief register the net stack buffer reference increasing and free callback

@param ref : net stack buffer reference callback @param free: net stack buffer free callback

@return

  • ESP_OK : Successfully transmit the buffer to wifi driver
  • others : failed to register the callback