Searched refs:pseudo_header (Results 1 – 3 of 3) sorted by relevance
279 } pseudo_header = {}; in icmp6_checksum() local 282 pseudo_header.saddr = src->sin6_addr; in icmp6_checksum() 283 pseudo_header.daddr = dst->sin6_addr; in icmp6_checksum() 284 pseudo_header.payload_len = htonl(len); in icmp6_checksum() 285 pseudo_header.nexthdr = proto; in icmp6_checksum() 287 sum = checksum6_nofold(&pseudo_header, sizeof(pseudo_header), 0); in icmp6_checksum()
279 } pseudo_header = {}; in icmp6_checksum() local282 pseudo_header.saddr = src->sin6_addr; in icmp6_checksum()283 pseudo_header.daddr = dst->sin6_addr; in icmp6_checksum()284 pseudo_header.payload_len = htonl(len); in icmp6_checksum()285 pseudo_header.nexthdr = proto; in icmp6_checksum()287 sum = checksum6_nofold(&pseudo_header, sizeof(pseudo_header), 0); in icmp6_checksum()
2555 char *pseudo_header; in mlx5i_complete_rx_cqe() local2620 pseudo_header = skb_push(skb, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()2621 memset(pseudo_header, 0, MLX5_IPOIB_PSEUDO_LEN); in mlx5i_complete_rx_cqe()