Lines Matching refs:tcph
208 struct tcphdr *tcph; in tcf_csum_ipv4_tcp() local
214 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
215 if (tcph == NULL) in tcf_csum_ipv4_tcp()
219 tcph->check = 0; in tcf_csum_ipv4_tcp()
220 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
221 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
232 struct tcphdr *tcph; in tcf_csum_ipv6_tcp() local
238 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
239 if (tcph == NULL) in tcf_csum_ipv6_tcp()
243 tcph->check = 0; in tcf_csum_ipv6_tcp()
244 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
245 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()