Lines Matching defs:tha
70 struct tha {
78 struct tha addr;
265 struct tha6 tha;
277 UNALIGNED_MEMCPY(&tha.src, dst, sizeof(ip6->ip6_dst));
278 UNALIGNED_MEMCPY(&tha.dst, src, sizeof(ip6->ip6_src));
279 tha.port = ((u_int)dport) << 16 | sport;
281 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof(ip6->ip6_dst));
282 UNALIGNED_MEMCPY(&tha.src, src, sizeof(ip6->ip6_src));
283 tha.port = ((u_int)sport) << 16 | dport;
286 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
288 if (memcmp((char *)&tha, (char *)&th->addr,
304 th->addr = tha;
321 struct tha tha;
331 UNALIGNED_MEMCPY(&tha.src, ip->ip_dst,
333 UNALIGNED_MEMCPY(&tha.dst, ip->ip_src,
335 tha.port = ((u_int)dport) << 16 | sport;
337 UNALIGNED_MEMCPY(&tha.dst, ip->ip_dst,
339 UNALIGNED_MEMCPY(&tha.src, ip->ip_src,
341 tha.port = ((u_int)sport) << 16 | dport;
344 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
346 if (memcmp((char *)&tha, (char *)&th->addr,
362 th->addr = tha;