Lines Matching refs:th
18 struct tcphdr *th)
30 p = tcp_gro_lookup(head, th);
40 &hdr->saddr, th->source,
41 &hdr->daddr, ntohs(th->dest),
52 struct tcphdr *th;
60 th = tcp_gro_pull_header(skb);
61 if (!th)
64 tcp6_check_fraglist_gro(head, skb, th);
66 return tcp_gro_receive(head, skb, th);
77 struct tcphdr *th = tcp_hdr(skb);
88 th->check = ~tcp_v6_check(skb->len - thoff, &iph->saddr,
99 struct tcphdr *th;
104 th = tcp_hdr(seg);
105 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false);
111 const struct tcphdr *th;
118 th = tcp_hdr(seg);
123 if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) &&
134 __tcpv6_gso_segment_csum(seg, &th2->source, th->source);
135 __tcpv6_gso_segment_csum(seg, &th2->dest, th->dest);
154 struct tcphdr *th;
159 if (!pskb_may_pull(skb, sizeof(*th)))
167 struct tcphdr *th = tcp_hdr(skb);
173 th->check = 0;