Lines Matching defs:protlen
309 int protlen; /* length of protocol part of packet */
742 protlen = packlen - sizeof(*outip) - optlen;
1424 icmpheader->icmp_cksum = in_cksum((u_short *)icmpheader, protlen);
1445 outudp->uh_ulen = htons((u_short)protlen);
1448 u_short sum = p_cksum(outip, (u_short *)outudp, protlen, protlen);
1474 u_short sum = p_cksum(outip, (u_short *)outudp, protlen, 8);
1504 tcp->th_sum = p_cksum(outip, (u_short *)tcp, protlen, protlen);
1527 if (protlen >= (int)(sizeof(struct sctphdr) +
1534 if (protlen >= (int)(sizeof(struct sctphdr) +
1546 init->ch.chunk_length = htons((u_int16_t)(protlen -
1554 if (protlen >= (int)(sizeof(struct sctphdr) +
1560 htons((u_int16_t)(protlen -
1569 if (protlen >=
1577 if (protlen >=
1583 chk->chunk_length = htons(protlen -
1588 sctp->checksum = sctp_crc32c(sctp, protlen);
1600 if (protlen < (int)(sizeof(struct sctphdr) +