Lines Matching defs:checksum
142 uint16_t msg_cksum; /* 16-bit checksum of req msg data */
143 uint16_t hdr_cksum; /* 16-bit checksum of req hdr */
160 uint16_t msg_cksum; /* 16-bit checksum of resp msg data */
161 uint16_t hdr_cksum; /* 16-bit checksum of resp hdr */
234 static uint16_t checksum(uint16_t *addr, int32_t count);
925 cksum = checksum((uint16_t *)datap, req_msg->msg_len);
942 /* fill request header checksum */
943 req_msg_hdr->hdr_cksum = checksum((uint16_t *)req_msg_hdr,
984 * Check header checksum if it matches with the received hdr
985 * checksum.
990 cksum = checksum((uint16_t *)resp_msg_hdr,
1031 /* verify response message data checksum */
1032 cksum = checksum((uint16_t *)resp_msg_data,
1487 /* receive message checksum */
1495 /* receive header checksum */
1625 * 16-bit simple internet checksum
1628 checksum(uint16_t *addr, int32_t count)