Lines Matching full:checksum
7 * e1000_calculate_checksum - Calculate checksum for buffer
9 * @length: size of EEPROM to calculate a checksum for
11 * Calculates the checksum for some buffer on a specified length. The
12 * checksum calculated is returned.
123 hdr_csum = hdr->checksum; in e1000e_enable_tx_pkt_filtering()
124 hdr->checksum = 0; in e1000e_enable_tx_pkt_filtering()
148 * Writes the command header after does the checksum calculation.
155 /* Write the whole command header structure with new checksum. */ in e1000_mng_write_cmd_header()
157 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length); in e1000_mng_write_cmd_header()
175 * @sum: sum of the data (not checksum)
189 /* sum = only sum of the data and it is not checksum */ in e1000_mng_host_if_write()
259 hdr.checksum = 0; in e1000e_mng_write_dhcp_info()
268 sizeof(hdr), &(hdr.checksum)); in e1000e_mng_write_dhcp_info()