Lines Matching full:changes
174 u_int changes = 0; in sl_compress_tcp() local
281 * receiver expects changes in the order: urgent, window, in sl_compress_tcp()
288 changes |= NEW_U; in sl_compress_tcp()
299 changes |= NEW_W; in sl_compress_tcp()
307 changes |= NEW_A; in sl_compress_tcp()
315 changes |= NEW_S; in sl_compress_tcp()
318 switch(changes) { in sl_compress_tcp()
338 * actual changes match one of our special case encodings -- in sl_compress_tcp()
347 changes = SPECIAL_I; in sl_compress_tcp()
355 changes = SPECIAL_D; in sl_compress_tcp()
364 changes |= NEW_I; in sl_compress_tcp()
367 changes |= TCP_PUSH_BIT; in sl_compress_tcp()
390 *cp++ = changes | NEW_C; in sl_compress_tcp()
395 *cp++ = changes; in sl_compress_tcp()
467 u_int hlen, changes; in sl_uncompress_tcp_core() local
509 changes = *cp++; in sl_uncompress_tcp_core()
510 if (changes & NEW_C) { in sl_uncompress_tcp_core()
532 if (changes & TCP_PUSH_BIT) in sl_uncompress_tcp_core()
537 switch (changes & SPECIALS_MASK) { in sl_uncompress_tcp_core()
552 if (changes & NEW_U) { in sl_uncompress_tcp_core()
557 if (changes & NEW_W) in sl_uncompress_tcp_core()
559 if (changes & NEW_A) in sl_uncompress_tcp_core()
561 if (changes & NEW_S) in sl_uncompress_tcp_core()
565 if (changes & NEW_I) { in sl_uncompress_tcp_core()
588 for (changes = 0; hlen > 0; hlen -= 2) in sl_uncompress_tcp_core()
589 changes += *bp++; in sl_uncompress_tcp_core()
590 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
591 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp_core()
592 cs->cs_ip.ip_sum = ~ changes; in sl_uncompress_tcp_core()