Lines Matching refs:tcph
177 struct tcphdr *tcph; in tcf_csum_ipv4_tcp() local
180 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
181 if (tcph == NULL) in tcf_csum_ipv4_tcp()
185 tcph->check = 0; in tcf_csum_ipv4_tcp()
186 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
187 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
198 struct tcphdr *tcph; in tcf_csum_ipv6_tcp() local
201 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
202 if (tcph == NULL) in tcf_csum_ipv6_tcp()
206 tcph->check = 0; in tcf_csum_ipv6_tcp()
207 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
208 tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_tcp()