Lines Matching refs:ip6h
187 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_icmp() local
193 ip6h = ipv6_hdr(skb); in tcf_csum_ipv6_icmp()
196 icmp6h->icmp6_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_icmp()
233 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_tcp() local
242 ip6h = ipv6_hdr(skb); in tcf_csum_ipv6_tcp()
245 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()
314 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_udp() local
331 ip6h = ipv6_hdr(skb); in tcf_csum_ipv6_udp()
352 udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, in tcf_csum_ipv6_udp()
485 struct ipv6hdr *ip6h; in tcf_csum_ipv6() local
494 hl = sizeof(*ip6h); in tcf_csum_ipv6()
499 ip6h = ipv6_hdr(skb); in tcf_csum_ipv6()
501 pl = ntohs(ip6h->payload_len); in tcf_csum_ipv6()
502 nexthdr = ip6h->nexthdr; in tcf_csum_ipv6()
527 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
533 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
539 pl + sizeof(*ip6h), 0)) in tcf_csum_ipv6()
545 pl + sizeof(*ip6h), 1)) in tcf_csum_ipv6()
550 !tcf_csum_sctp(skb, hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()