Searched refs:protlen (Results 1 – 2 of 2) sorted by relevance
775 protlen = packlen - sizeof(*outip) - optlen; in main()1522 outudp->uh_ulen = htons((u_short)protlen); in udp_prep()1525 u_short sum = p_cksum(outip, (u_short *)outudp, protlen, protlen); in udp_prep()1581 tcp->th_sum = p_cksum(outip, (u_short *)tcp, protlen, protlen); in tcp_prep()1604 if (protlen >= (int)(sizeof(struct sctphdr) + in sctp_prep()1611 if (protlen >= (int)(sizeof(struct sctphdr) + in sctp_prep()1637 htons((u_int16_t)(protlen - in sctp_prep()1646 if (protlen >= in sctp_prep()1654 if (protlen >= in sctp_prep()1660 chk->chunk_length = htons(protlen - in sctp_prep()[all …]
4188 unsigned int protlen = 0; in alpn_select_cb() local4191 for (prot = in; prot < in + inlen; prot += protlen) { in alpn_select_cb()4192 protlen = *prot++; in alpn_select_cb()4193 if (in + inlen < prot + protlen) in alpn_select_cb()4196 if (protlen == strlen(servalpn) in alpn_select_cb()4197 && memcmp(prot, servalpn, protlen) == 0) { in alpn_select_cb()4199 *outlen = protlen; in alpn_select_cb()10990 unsigned int protlen; in test_npn() local11004 if (!TEST_uint_eq(protlen, 0)) in test_npn()11098 unsigned int protlen; in test_alpn() local[all …]