Lines Matching refs:changes
166 register u_int changes = 0; in sl_compress_tcp() local
289 changes |= NEW_U; in sl_compress_tcp()
302 changes |= NEW_W; in sl_compress_tcp()
310 changes |= NEW_A; in sl_compress_tcp()
318 changes |= NEW_S; in sl_compress_tcp()
320 switch (changes) { in sl_compress_tcp()
350 changes = SPECIAL_I; in sl_compress_tcp()
358 changes = SPECIAL_D; in sl_compress_tcp()
367 changes |= NEW_I; in sl_compress_tcp()
370 changes |= TCP_PUSH_BIT; in sl_compress_tcp()
398 *cp++ = changes; in sl_compress_tcp()
403 *cp++ = changes | NEW_C; in sl_compress_tcp()
432 register u_int hlen, changes; in sl_uncompress_tcp() local
474 changes = *cp++; in sl_uncompress_tcp()
475 log_Printf(LogDEBUG, "compressed: changes = %02x\n", changes); in sl_uncompress_tcp()
477 if (changes & NEW_C) { in sl_uncompress_tcp()
503 if (changes & TCP_PUSH_BIT) in sl_uncompress_tcp()
508 switch (changes & SPECIALS_MASK) { in sl_uncompress_tcp()
524 if (changes & NEW_U) { in sl_uncompress_tcp()
529 if (changes & NEW_W) in sl_uncompress_tcp()
531 if (changes & NEW_A) in sl_uncompress_tcp()
533 if (changes & NEW_S) { in sl_uncompress_tcp()
540 if (changes & NEW_I) { in sl_uncompress_tcp()
570 for (changes = 0; hlen > 0; hlen -= 2) in sl_uncompress_tcp()
571 changes += *bp++; in sl_uncompress_tcp()
572 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp()
573 changes = (changes & 0xffff) + (changes >> 16); in sl_uncompress_tcp()
574 cs->cs_ip.ip_sum = ~changes; in sl_uncompress_tcp()