Searched refs:protlen (Results 1 – 1 of 1) sorted by relevance
770 protlen = packlen - sizeof(*outip) - optlen; in main()1497 outudp->uh_ulen = htons((u_short)protlen); in udp_prep()1500 u_short sum = p_cksum(outip, (u_short*)outudp, protlen, protlen); in udp_prep()1556 tcp->th_sum = p_cksum(outip, (u_short*)tcp, protlen, protlen); in tcp_prep()1579 if (protlen >= (int)(sizeof(struct sctphdr) + in sctp_prep()1586 if (protlen >= (int)(sizeof(struct sctphdr) + in sctp_prep()1612 htons((u_int16_t)(protlen - in sctp_prep()1621 if (protlen >= in sctp_prep()1629 if (protlen >= in sctp_prep()1635 chk->chunk_length = htons(protlen - in sctp_prep()[all …]