Searched refs:pseudo_header (Results 1 – 2 of 2) sorted by relevance
190 } pseudo_header; in icmp6_checksum() local192 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()
2566 char *pseudo_header; in mlx5i_complete_rx_cqe() local2631 pseudo_header = skb_push(skb, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()2632 memset(pseudo_header, 0, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()