Searched refs:pchecksum (Results 1 – 3 of 3) sorted by relevance
23 __be32 *pchecksum; in ncsi_validate_aen_pkt() local34 pchecksum = (__be32 *)((void *)(h + 1) + payload - 4); in ncsi_validate_aen_pkt()35 if (ntohl(*pchecksum) == 0) in ncsi_validate_aen_pkt()40 if (*pchecksum != htonl(checksum)) in ncsi_validate_aen_pkt()
42 __be32 *pchecksum; in ncsi_cmd_build_header() local58 pchecksum = (__be32 *)((void *)h + sizeof(struct ncsi_pkt_hdr) + in ncsi_cmd_build_header()60 *pchecksum = htonl(checksum); in ncsi_cmd_build_header()
27 __be32 *pchecksum; in ncsi_validate_rsp_pkt() local59 pchecksum = (__be32 *)((void *)(h + 1) + ALIGN(payload, 4) - 4); in ncsi_validate_rsp_pkt()60 if (ntohl(*pchecksum) == 0) in ncsi_validate_rsp_pkt()66 if (*pchecksum != htonl(checksum)) { in ncsi_validate_rsp_pkt()69 *pchecksum, htonl(checksum)); in ncsi_validate_rsp_pkt()