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