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,
50 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr,
55 const struct in6_addr *saddr,
59 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base);
63 const struct in6_addr *saddr,
69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0);
73 th->check = tcp_v6_check(skb->len, saddr, daddr,
85 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0);
89 const struct in6_addr *saddr,
93 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base);
97 const struct in6_addr *saddr,