Lines Matching refs:checksum
121 ULONG checksum; in ntest_0_entry() local
216 checksum = _nx_ip_checksum_compute(packet_ptr, NX_PROTOCOL_TCP, in ntest_0_entry()
219 checksum = ~checksum & NX_LOWER_16_MASK; in ntest_0_entry()
223 checksum = _nx_tcp_checksum(packet_ptr, source_ip, dest_ip); in ntest_0_entry()
227 tcp_header_ptr -> nx_tcp_header_word_4 = (checksum << NX_SHIFT_BY_16); in ntest_0_entry()
259 checksum = (temp >> NX_SHIFT_BY_16) + (temp & NX_LOWER_16_MASK); in ntest_0_entry()
261 checksum += (temp >> NX_SHIFT_BY_16) + (temp & NX_LOWER_16_MASK); in ntest_0_entry()
263 checksum += (temp >> NX_SHIFT_BY_16); in ntest_0_entry()
265 checksum += (temp >> NX_SHIFT_BY_16) + (temp & NX_LOWER_16_MASK); in ntest_0_entry()
267 checksum += (temp >> NX_SHIFT_BY_16) + (temp & NX_LOWER_16_MASK); in ntest_0_entry()
270 checksum = (checksum >> NX_SHIFT_BY_16) + (checksum & NX_LOWER_16_MASK); in ntest_0_entry()
273 checksum = (checksum >> NX_SHIFT_BY_16) + (checksum & NX_LOWER_16_MASK); in ntest_0_entry()
276 … -> nx_ip_header_word_2 = ip_header_ptr -> nx_ip_header_word_2 | (NX_LOWER_16_MASK & (~checksum)); in ntest_0_entry()
286 checksum = _nx_ip_checksum_compute(packet_ptr, NX_IP_VERSION_V4, 20, NULL, NULL); in ntest_0_entry()
287 val = (ULONG)(~checksum); in ntest_0_entry()