Lines Matching refs:check
218 tcph->check = 0; in tcf_csum_ipv4_tcp()
220 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
242 tcph->check = 0; in tcf_csum_ipv6_tcp()
244 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()
277 if (udplite || udph->check) { in tcf_csum_ipv4_udp()
279 udph->check = 0; in tcf_csum_ipv4_udp()
295 udph->check = csum_tcpudp_magic(iph->saddr, iph->daddr, in tcf_csum_ipv4_udp()
299 if (!udph->check) in tcf_csum_ipv4_udp()
300 udph->check = CSUM_MANGLED_0; in tcf_csum_ipv4_udp()
333 udph->check = 0; in tcf_csum_ipv6_udp()
351 udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, in tcf_csum_ipv6_udp()
355 if (!udph->check) in tcf_csum_ipv6_udp()
356 udph->check = CSUM_MANGLED_0; in tcf_csum_ipv6_udp()