Searched refs:csum_offset (Results 1 – 1 of 1) sorted by relevance
58 int hlen, plen, proto, csum_offset; in net_checksum_calculate() local69 csum_offset = 16; in net_checksum_calculate()72 csum_offset = 6; in net_checksum_calculate()78 if (plen < csum_offset+2) in net_checksum_calculate()81 data[14+hlen+csum_offset] = 0; in net_checksum_calculate()82 data[14+hlen+csum_offset+1] = 0; in net_checksum_calculate()84 data[14+hlen+csum_offset] = csum >> 8; in net_checksum_calculate()85 data[14+hlen+csum_offset+1] = csum & 0xff; in net_checksum_calculate()