Lines Matching refs:changes
162 u_int changes = 0; in sl_compress_tcp() local
280 changes |= NEW_U; in sl_compress_tcp()
291 changes |= NEW_W; in sl_compress_tcp()
299 changes |= NEW_A; in sl_compress_tcp()
307 changes |= NEW_S; in sl_compress_tcp()
310 switch(changes) { in sl_compress_tcp()
338 changes = SPECIAL_I; in sl_compress_tcp()
346 changes = SPECIAL_D; in sl_compress_tcp()
355 changes |= NEW_I; in sl_compress_tcp()
358 changes |= TCP_PUSH_BIT; in sl_compress_tcp()
381 *cp++ = changes | NEW_C; in sl_compress_tcp()
386 *cp++ = changes; in sl_compress_tcp()
457 u_int hlen, changes; in sl_uncompress_tcp_core() local
498 changes = *cp++; in sl_uncompress_tcp_core()
499 if (changes & NEW_C) { in sl_uncompress_tcp_core()
521 if (changes & TCP_PUSH_BIT) in sl_uncompress_tcp_core()
526 switch (changes & SPECIALS_MASK) { in sl_uncompress_tcp_core()
541 if (changes & NEW_U) { in sl_uncompress_tcp_core()
546 if (changes & NEW_W) in sl_uncompress_tcp_core()
548 if (changes & NEW_A) in sl_uncompress_tcp_core()
550 if (changes & NEW_S) in sl_uncompress_tcp_core()
554 if (changes & NEW_I) { in sl_uncompress_tcp_core()
577 for (changes = 0; hlen > 0; hlen -= 2) in sl_uncompress_tcp_core()
578 changes += *bp++; in sl_uncompress_tcp_core()
579 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
580 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
581 cs->cs_ip.ip_sum = ~ changes; in sl_uncompress_tcp_core()