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