Send an ethernet packet on the network using netif->linkoutput(). The ethernet header is filled in before sending.
- See also
- LWIP_HOOK_VLAN_SET
- Parameters
-
netif | the lwIP network interface on which to send the packet |
p | the packet to send. pbuf layer must be PBUF_LINK. |
src | the source MAC address to be copied into the ethernet header |
dst | the destination MAC address to be copied into the ethernet header |
eth_type | ethernet type (lwip_ieee_eth_type) |
- Returns
- ERR_OK if the packet was sent, any other err_t on failure