Lines Matching full:checksum
87 * This is used for UDP and TCP pseudo-header in the checksum
272 * compute an IP header checksum.
306 * Given the host-byte-order value of the checksum field in a packet
307 * header, and the network-byte-order computed checksum of the data
308 * that the checksum covers (including the checksum itself), compute
309 * what the checksum field *should* have been.
317 * The value that should have gone into the checksum field
319 * *but* the checksum field.
321 * We can compute that by subtracting the value of the checksum
325 * "sum" is the value of the checksum field, and "computed_sum"
336 * As RFC 1071 notes, the checksum can be computed without
338 * on a big-endian machine gives a big-endian checksum, which
339 * can be directly stuffed into the big-endian checksum fields
341 * machine gives a little-endian checksum, which must be
342 * byte-swapped before being stuffed into a big-endian checksum
347 * host-byte-order value from the header; the adjusted checksum