Home
last modified time | relevance | path

Searched refs:pchecksum (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/net/ncsi/
Dncsi-aen.c23 __be32 *pchecksum; in ncsi_validate_aen_pkt() local
34 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()
Dncsi-cmd.c42 __be32 *pchecksum; in ncsi_cmd_build_header() local
58 pchecksum = (__be32 *)((void *)h + sizeof(struct ncsi_pkt_hdr) + in ncsi_cmd_build_header()
60 *pchecksum = htonl(checksum); in ncsi_cmd_build_header()
Dncsi-rsp.c27 __be32 *pchecksum; in ncsi_validate_rsp_pkt() local
59 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()