Searched refs:protlen (Results 1 – 3 of 3) sorted by relevance
579 u16 protlen; in efi_net_receive() local610 protlen = ntohs(eth_hdr->et_protlen); in efi_net_receive()611 if (protlen == 0x8100) { in efi_net_receive()613 protlen = ntohs(*(u16 *)&net_rx_packet[hdr_size - 2]); in efi_net_receive()622 *protocol = protlen; in efi_net_receive()
1463 ushort protlen; in net_update_ether() local1467 protlen = ntohs(et->et_protlen); in net_update_ether()1468 if (protlen == PROT_VLAN) { in net_update_ether()1473 } else if (protlen > 1514) { in net_update_ether()
2871 unsigned int protlen = 0; in alpn_select_cb() local2874 for (prot = in; prot < in + inlen; prot += protlen) { in alpn_select_cb()2875 protlen = *prot++; in alpn_select_cb()2876 if (in + inlen < prot + protlen) in alpn_select_cb()2879 if (protlen == strlen(servalpn) in alpn_select_cb()2880 && memcmp(prot, servalpn, protlen) == 0) { in alpn_select_cb()2882 *outlen = protlen; in alpn_select_cb()