Lines Matching refs:ntohl
40 #include <sys/byteorder.h> /* for ntohl, etc. */
142 u_int32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \
146 u_int32_t tmp = ntohl(f) + (u_int32_t)*cp++; \
312 if ((deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack)) > 0) {
319 if ((deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq)) > 0) {
525 tmp = ntohl(th->th_ack) + i;
527 tmp = ntohl(th->th_seq) + i;
534 tmp = ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) - cs->cs_hlen;