Searched refs:csum_offset (Results 1 – 1 of 1) sorted by relevance
59 int hlen, plen, proto, csum_offset; in net_checksum_calculate() local70 csum_offset = 16; in net_checksum_calculate()73 csum_offset = 6; in net_checksum_calculate()79 if (plen < csum_offset+2) in net_checksum_calculate()82 data[14+hlen+csum_offset] = 0; in net_checksum_calculate()83 data[14+hlen+csum_offset+1] = 0; in net_checksum_calculate()85 data[14+hlen+csum_offset] = csum >> 8; in net_checksum_calculate()86 data[14+hlen+csum_offset+1] = csum & 0xff; in net_checksum_calculate()