Lines Matching refs:saddr
34 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo()
50 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
55 const struct in6_addr *saddr, in tcp_v6_check() argument
59 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
63 const struct in6_addr *saddr, in __tcp_v6_send_check() argument
69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
73 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
85 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
89 const struct in6_addr *saddr, in udp_v6_check() argument
93 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v6_check()
97 const struct in6_addr *saddr,