Lines Matching defs: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,
101 struct tcphdr *th = tcp_hdr(seg);
104 inet_proto_csum_replace16(&th->check, seg,
114 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false);
120 const struct tcphdr *th;
127 th = tcp_hdr(seg);
132 if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) &&
142 &th2->source, th->source);
144 &th2->dest, th->dest);
163 struct tcphdr *th;
168 if (!pskb_may_pull(skb, sizeof(*th)))
172 struct tcphdr *th = tcp_hdr(skb);
174 if (skb_pagelen(skb) - th->doff * 4 == skb_shinfo(skb)->gso_size)
182 struct tcphdr *th = tcp_hdr(skb);
188 th->check = 0;