Type Alias esp_idf_hal::sys::netif_linkoutput_fn
source · pub type netif_linkoutput_fn = Option<unsafe extern "C" fn(_: *mut netif, _: *mut pbuf) -> i8>;
Expand description
Function prototype for netif->linkoutput functions. Only used for ethernet netifs. This function is called by ARP when a packet shall be sent.
@param netif The netif which shall send a packet @param p The packet to send (raw ethernet packet)
Aliased Type§
enum netif_linkoutput_fn {
None,
Some(unsafe extern "C" fn(_: *mut netif, _: *mut pbuf) -> i8),
}