Lines Matching defs:th
18 struct tcphdr *th)
30 p = tcp_gro_lookup(head, th);
39 sk = __inet6_lookup_established(net, &hdr->saddr, th->source,
40 &hdr->daddr, ntohs(th->dest),
51 struct tcphdr *th;
59 th = tcp_gro_pull_header(skb);
60 if (!th)
63 tcp6_check_fraglist_gro(head, skb, th);
65 return tcp_gro_receive(head, skb, th);
76 struct tcphdr *th = tcp_hdr(skb);
87 th->check = ~tcp_v6_check(skb->len - thoff, &iph->saddr,
100 struct tcphdr *th = tcp_hdr(seg);
103 inet_proto_csum_replace16(&th->check, seg,
113 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false);
119 const struct tcphdr *th;
126 th = tcp_hdr(seg);
131 if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) &&
141 &th2->source, th->source);
143 &th2->dest, th->dest);
162 struct tcphdr *th;
167 if (!pskb_may_pull(skb, sizeof(*th)))
171 struct tcphdr *th = tcp_hdr(skb);
173 if (skb_pagelen(skb) - th->doff * 4 == skb_shinfo(skb)->gso_size)
181 struct tcphdr *th = tcp_hdr(skb);
187 th->check = 0;