Lines Matching refs:checksum

211    These bytes contain an 18 bit checksum of the complete
213 CSUM[123] bytes. The checksum is simply the twos complement
215 values of the checksum bytes are:
787 /* Get the checksum of a packet. HDR points to the packet header.
799 /* The initial SYN is not included in the checksum. */
917 /* We don't bother checking the checksum, or providing an
938 /* If the checksum does not match the trailer checksum, this
1095 printf_unfiltered ("Bad checksum; data %d, trailer %d\n",
1099 /* The checksum failed. Send an acknowledgement for the
2703 * start ---+ | | data +- checksum
2711 * S<type><length><address><data><checksum>
2715 * is the number of bytes following upto the checksum. Note that
2733 * - checksum
2745 unsigned char checksum;
2754 buf[2] = len + 4 + 1; /* len + 4 byte address + 1 byte checksum */
2764 /* Note that the checksum is calculated on the raw data, not the
2767 checksum = 0;
2770 checksum += *buf++;
2772 *buf = ~checksum;
2786 'K' clear checksum
2787 'C' compare checksum (12bit value, not included in checksum calculation)
2806 at a time (range 0..63). Keep a checksum if required (passed
2827 /* Deal with the checksum: */
2870 /* Add the checksum (without updating the value): */
2876 /* Forcing a checksum validation clears the sum: */
2882 for the checksum and line termination characters: */
2884 /* zero-fill, checksum, transfer end and line termination space. */
2906 the record, and a checksum record. */
3136 /* Zero the checksum */
3178 /* This keeps a rolling checksum, until we decide to output