Lines Matching refs:ntohs
139 ushort_t tmp = ntohs(f) + ((cp[1] << 8) | cp[2]); \
143 ushort_t tmp = ntohs(f) + (uint32_t)*cp++; \
299 deltaS = ntohs(th->th_urp); in vj_compress_tcp()
316 if ((deltaS = (ushort_t)(ntohs(th->th_win) - ntohs(oth->th_win))) > 0) { in vj_compress_tcp()
354 ntohs(cs->cs_ip.ip_len) == thlen) { in vj_compress_tcp()
373 deltaS == ntohs(cs->cs_ip.ip_len) - thlen) { in vj_compress_tcp()
386 if (deltaS == ntohs(cs->cs_ip.ip_len) - thlen) { in vj_compress_tcp()
398 deltaS = ntohs(ip->ip_id) - ntohs(cs->cs_ip.ip_id); in vj_compress_tcp()
413 deltaA = ntohs(th->th_sum); in vj_compress_tcp()
594 i = ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; in vj_uncompress_tcp()
608 tmp = ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; in vj_uncompress_tcp()
640 cs->cs_ip.ip_id = ntohs(cs->cs_ip.ip_id) + 1; in vj_uncompress_tcp()