Searched refs:protlen (Results 1 – 2 of 2) sorted by relevance
238 u16 protlen; in efi_net_receive() local254 protlen = ntohs(eth_hdr->et_protlen); in efi_net_receive()255 if (protlen == 0x8100) { in efi_net_receive()257 protlen = ntohs(*(u16 *)&net_rx_packet[hdr_size - 2]); in efi_net_receive()266 *protocol = protlen; in efi_net_receive()
1437 ushort protlen; in net_update_ether() local1441 protlen = ntohs(et->et_protlen); in net_update_ether()1442 if (protlen == PROT_VLAN) { in net_update_ether()1447 } else if (protlen > 1514) { in net_update_ether()