Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c279 } 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()
H A Dicmps-discard.c279 } 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c2555 char *pseudo_header; in mlx5i_complete_rx_cqe() local
2620 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()