Home
last modified time | relevance | path

Searched refs:csum_offset (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dnet-checksum.c58 int hlen, plen, proto, csum_offset; in net_checksum_calculate() local
69 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()
/external/iputils/
Dping6.c707 int csum_offset, sz_opt; in main() local
1107 csum_offset = 2; in main()
1111 &csum_offset, sz_opt); in main()