Home
last modified time | relevance | path

Searched refs:protlen (Results 1 – 3 of 3) sorted by relevance

/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_net.c579 u16 protlen; in efi_net_receive() local
610 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()
/third_party/uboot/u-boot-2020.01/net/
Dnet.c1463 ushort protlen; in net_update_ether() local
1467 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()
/third_party/openssl/test/
Dsslapitest.c2871 unsigned int protlen = 0; in alpn_select_cb() local
2874 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()