Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_icrc.c26 u8 pshdr[sizeof(struct udphdr) + in rxe_icrc_hdr() local
36 memcpy(pshdr, ip_hdr(skb), hdr_size); in rxe_icrc_hdr()
37 ip4h = (struct iphdr *)pshdr; in rxe_icrc_hdr()
44 memcpy(pshdr, ipv6_hdr(skb), hdr_size); in rxe_icrc_hdr()
45 ip6h = (struct ipv6hdr *)pshdr; in rxe_icrc_hdr()
56 memcpy(&pshdr[bth_offset], pkt->hdr, RXE_BTH_BYTES); in rxe_icrc_hdr()
57 bth = (struct rxe_bth *)&pshdr[bth_offset]; in rxe_icrc_hdr()
63 crc = rxe_crc32(pkt->rxe, crc, pshdr, length); in rxe_icrc_hdr()