[][src]Type Definition esp_idf_bindgen::netif_linkoutput_fn

type netif_linkoutput_fn = Option<unsafe extern "C" fn(netif: *mut netif, p: *mut pbuf) -> err_t>;

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)