Lines Matching refs:tha
72 struct tha { struct
80 struct tha addr; argument
255 struct tha6 tha; local
267 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst);
268 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src);
269 tha.port = dport << 16 | sport;
271 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst);
272 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src);
273 tha.port = sport << 16 | dport;
276 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
278 if (memcmp((char *)&tha, (char *)&th->addr,
290 th->addr = tha;
311 struct tha tha; local
323 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip->ip_dst);
324 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip->ip_src);
325 tha.port = dport << 16 | sport;
327 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip->ip_dst);
328 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip->ip_src);
329 tha.port = sport << 16 | dport;
332 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
334 if (memcmp((char *)&tha, (char *)&th->addr,
346 th->addr = tha;