Lines Matching full:changes
159 u_int changes = 0; in sl_compress_tcp() local
270 * receiver expects changes in the order: urgent, window, in sl_compress_tcp()
277 changes |= NEW_U; in sl_compress_tcp()
288 changes |= NEW_W; in sl_compress_tcp()
296 changes |= NEW_A; in sl_compress_tcp()
304 changes |= NEW_S; in sl_compress_tcp()
307 switch(changes) { in sl_compress_tcp()
326 * actual changes match one of our special case encodings -- in sl_compress_tcp()
335 changes = SPECIAL_I; in sl_compress_tcp()
343 changes = SPECIAL_D; in sl_compress_tcp()
352 changes |= NEW_I; in sl_compress_tcp()
355 changes |= TCP_PUSH_BIT; in sl_compress_tcp()
378 *cp++ = changes | NEW_C; in sl_compress_tcp()
383 *cp++ = changes; in sl_compress_tcp()
454 u_int hlen, changes; in sl_uncompress_tcp_core() local
495 changes = *cp++; in sl_uncompress_tcp_core()
496 if (changes & NEW_C) { in sl_uncompress_tcp_core()
518 if (changes & TCP_PUSH_BIT) in sl_uncompress_tcp_core()
523 switch (changes & SPECIALS_MASK) { in sl_uncompress_tcp_core()
538 if (changes & NEW_U) { in sl_uncompress_tcp_core()
543 if (changes & NEW_W) in sl_uncompress_tcp_core()
545 if (changes & NEW_A) in sl_uncompress_tcp_core()
547 if (changes & NEW_S) in sl_uncompress_tcp_core()
551 if (changes & NEW_I) { in sl_uncompress_tcp_core()
574 for (changes = 0; hlen > 0; hlen -= 2) in sl_uncompress_tcp_core()
575 changes += *bp++; in sl_uncompress_tcp_core()
576 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
577 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
578 cs->cs_ip.ip_sum = ~ changes; in sl_uncompress_tcp_core()