Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_lte.c190 } pseudo_header; in icmp6_checksum() local
192 memset(&pseudo_header, 0, sizeof(pseudo_header)); in icmp6_checksum()
193 memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16); in icmp6_checksum()
194 memcpy(&pseudo_header.ph.ph_dst, &ipv6->daddr.in6_u.u6_addr8, 16); in icmp6_checksum()
195 pseudo_header.ph.ph_len = be16_to_cpu(ipv6->payload_len); in icmp6_checksum()
196 pseudo_header.ph.ph_nxt = ipv6->nexthdr; in icmp6_checksum()
198 for (i = 0; i < ARRAY_SIZE(pseudo_header.pa); i++) { in icmp6_checksum()
199 pa = pseudo_header.pa[i]; in icmp6_checksum()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c2570 char *pseudo_header; in mlx5i_complete_rx_cqe() local
2635 pseudo_header = skb_push(skb, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()
2636 memset(pseudo_header, 0, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()