Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rxe/
H A Drxe_icrc.c87 u8 pshdr[sizeof(struct udphdr) + in rxe_icrc_hdr() local
97 memcpy(pshdr, ip_hdr(skb), hdr_size); in rxe_icrc_hdr()
98 ip4h = (struct iphdr *)pshdr; in rxe_icrc_hdr()
105 memcpy(pshdr, ipv6_hdr(skb), hdr_size); in rxe_icrc_hdr()
106 ip6h = (struct ipv6hdr *)pshdr; in rxe_icrc_hdr()
117 memcpy(&pshdr[bth_offset], pkt->hdr, RXE_BTH_BYTES); in rxe_icrc_hdr()
118 bth = (struct rxe_bth *)&pshdr[bth_offset]; in rxe_icrc_hdr()
124 crc = rxe_crc32(pkt->rxe, crc, pshdr, length); in rxe_icrc_hdr()