Lines Matching refs:changes
161 u_int changes = 0; in sl_compress_tcp() local
279 changes |= NEW_U; in sl_compress_tcp()
290 changes |= NEW_W; in sl_compress_tcp()
298 changes |= NEW_A; in sl_compress_tcp()
306 changes |= NEW_S; in sl_compress_tcp()
309 switch(changes) { in sl_compress_tcp()
337 changes = SPECIAL_I; in sl_compress_tcp()
345 changes = SPECIAL_D; in sl_compress_tcp()
354 changes |= NEW_I; in sl_compress_tcp()
357 changes |= TCP_PUSH_BIT; in sl_compress_tcp()
380 *cp++ = changes | NEW_C; in sl_compress_tcp()
385 *cp++ = changes; in sl_compress_tcp()
456 u_int hlen, changes; in sl_uncompress_tcp_core() local
497 changes = *cp++; in sl_uncompress_tcp_core()
498 if (changes & NEW_C) { in sl_uncompress_tcp_core()
520 if (changes & TCP_PUSH_BIT) in sl_uncompress_tcp_core()
525 switch (changes & SPECIALS_MASK) { in sl_uncompress_tcp_core()
540 if (changes & NEW_U) { in sl_uncompress_tcp_core()
545 if (changes & NEW_W) in sl_uncompress_tcp_core()
547 if (changes & NEW_A) in sl_uncompress_tcp_core()
549 if (changes & NEW_S) in sl_uncompress_tcp_core()
553 if (changes & NEW_I) { in sl_uncompress_tcp_core()
576 for (changes = 0; hlen > 0; hlen -= 2) in sl_uncompress_tcp_core()
577 changes += *bp++; in sl_uncompress_tcp_core()
578 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
579 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
580 cs->cs_ip.ip_sum = ~ changes; in sl_uncompress_tcp_core()