| lwIP
    2.0.3
    Lightweight IP stack | 
| Enumerations | |
| enum | eth_type { ETHTYPE_IP = 0x0800U, ETHTYPE_ARP = 0x0806U, ETHTYPE_WOL = 0x0842U, ETHTYPE_RARP = 0x8035U, ETHTYPE_VLAN = 0x8100U, ETHTYPE_IPV6 = 0x86DDU, ETHTYPE_PPPOEDISC = 0x8863U, ETHTYPE_PPPOE = 0x8864U, ETHTYPE_JUMBO = 0x8870U, ETHTYPE_PROFINET = 0x8892U, ETHTYPE_ETHERCAT = 0x88A4U, ETHTYPE_LLDP = 0x88CCU, ETHTYPE_SERCOS = 0x88CDU, ETHTYPE_MRP = 0x88E3U, ETHTYPE_PTP = 0x88F7U, ETHTYPE_QINQ = 0x9100U } | 
| Functions | |
| err_t | ethernet_output (struct netif *netif, struct pbuf *p, const struct eth_addr *src, const struct eth_addr *dst, u16_t eth_type) | 
| enum eth_type | 
A list of often ethtypes (although lwIP does not use all of them):
| err_t ethernet_output | ( | struct netif * | netif, | 
| struct pbuf * | p, | ||
| const struct eth_addr * | src, | ||
| const struct eth_addr * | dst, | ||
| u16_t | eth_type | ||
| ) | 
Send an ethernet packet on the network using netif->linkoutput(). The ethernet header is filled in before sending.
| 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 (eth_type) |