Home | History | Annotate | Download | only in src

Lines Matching refs:ntohs

139 		(f) = htons(ntohs(f) + ((cp[1] << 8) | cp[2])); \
142 (f) = htons(ntohs(f) + (u_int32_t)*cp++); \
289 deltaS = ntohs(th->th_urp);
301 deltaS = (u_short) (ntohs(th->th_win) - ntohs(oth->th_win));
334 ntohs(cs->cs_ip.ip_len) == hlen)
350 deltaS == ntohs(cs->cs_ip.ip_len) - hlen) {
358 if (deltaS == ntohs(cs->cs_ip.ip_len) - hlen) {
366 deltaS = ntohs(ip->ip_id) - ntohs(cs->cs_ip.ip_id);
378 deltaA = ntohs(th->th_sum);
513 register u_int i = ntohs(cs->cs_ip.ip_len) - cs->cs_hlen;
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
545 cs->cs_ip.ip_id = htons(ntohs(cs->cs_ip.ip_id) + 1);