Lines Matching refs:check
221 tcph->check = 0; in tcf_csum_ipv4_tcp()
223 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
245 tcph->check = 0; in tcf_csum_ipv6_tcp()
247 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()
280 if (udplite || udph->check) { in tcf_csum_ipv4_udp()
282 udph->check = 0; in tcf_csum_ipv4_udp()
298 udph->check = csum_tcpudp_magic(iph->saddr, iph->daddr, in tcf_csum_ipv4_udp()
302 if (!udph->check) in tcf_csum_ipv4_udp()
303 udph->check = CSUM_MANGLED_0; in tcf_csum_ipv4_udp()
336 udph->check = 0; in tcf_csum_ipv6_udp()
354 udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, in tcf_csum_ipv6_udp()
358 if (!udph->check) in tcf_csum_ipv6_udp()
359 udph->check = CSUM_MANGLED_0; in tcf_csum_ipv6_udp()