Lines Matching refs:tcph
192 struct tcphdr *tcph; in tcf_csum_ipv4_tcp() local
194 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
195 if (tcph == NULL) in tcf_csum_ipv4_tcp()
198 tcph->check = 0; in tcf_csum_ipv4_tcp()
199 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
200 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
211 struct tcphdr *tcph; in tcf_csum_ipv6_tcp() local
213 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
214 if (tcph == NULL) in tcf_csum_ipv6_tcp()
217 tcph->check = 0; in tcf_csum_ipv6_tcp()
218 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
219 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()