Lines Matching refs:tmp
101 u32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \
102 (f) = htonl(tmp); \
105 u32_t tmp = ntohl(f) + (u32_t)*cp++; \
106 (f) = htonl(tmp); \
112 u_short tmp = ntohs(f) + (((u_short)cp[1] << 8) | cp[2]); \
113 (f) = htons(tmp); \
116 u_short tmp = ntohs(f) + (u_short)*cp++; \
117 (f) = htons(tmp); \
471 u32_t tmp; in vj_uncompress_tcp() local
517 tmp = ntohl(th->ackno) + i; in vj_uncompress_tcp()
518 th->ackno = htonl(tmp); in vj_uncompress_tcp()
519 tmp = ntohl(th->seqno) + i; in vj_uncompress_tcp()
520 th->seqno = htonl(tmp); in vj_uncompress_tcp()
526 tmp = ntohl(th->seqno) + ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
527 th->seqno = htonl(tmp); in vj_uncompress_tcp()
572 tmp = n0->tot_len - vjlen + cs->cs_hlen; in vj_uncompress_tcp()
573 IPH_LEN_SET(&cs->cs_ip, htons((u_short)tmp)); in vj_uncompress_tcp()
581 for (tmp = 0; hlen > 0; hlen -= 2) { in vj_uncompress_tcp()
582 tmp += *bp++; in vj_uncompress_tcp()
584 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
585 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
586 IPH_CHKSUM_SET(&cs->cs_ip, (u_short)(~tmp)); in vj_uncompress_tcp()