Lines Matching refs:checksum
43 the starting `S' to the last char of the checksum. FLAGS is
180 * start ---+ | | data +- checksum
188 * S<type><length><address><data><checksum>
192 * is the number of bytes following upto the checksum. Note that
210 * - checksum
222 unsigned char checksum;
277 /* Note that the checksum is calculated on the raw data, not the
281 checksum = 0;
283 checksum += (payload_size + addr_size + 1 /* Packet length */
302 checksum += k;
305 checksum = ~checksum;
307 *p++ = hextab[checksum >> 4];
308 *p++ = hextab[checksum & 0xf];