Lines Matching refs:tha
70 struct tha {
78 struct tha addr;
256 struct tha6 tha;
268 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst);
269 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src);
270 tha.port = ((u_int)dport) << 16 | sport;
272 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst);
273 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src);
274 tha.port = ((u_int)sport) << 16 | dport;
277 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
279 if (memcmp((char *)&tha, (char *)&th->addr,
292 th->addr = tha;
309 struct tha tha;
319 UNALIGNED_MEMCPY(&tha.src, &ip->ip_dst, sizeof ip->ip_dst);
320 UNALIGNED_MEMCPY(&tha.dst, &ip->ip_src, sizeof ip->ip_src);
321 tha.port = ((u_int)dport) << 16 | sport;
323 UNALIGNED_MEMCPY(&tha.dst, &ip->ip_dst, sizeof ip->ip_dst);
324 UNALIGNED_MEMCPY(&tha.src, &ip->ip_src, sizeof ip->ip_src);
325 tha.port = ((u_int)sport) << 16 | dport;
328 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
330 if (memcmp((char *)&tha, (char *)&th->addr,
343 th->addr = tha;