Home | History | Annotate | Download | only in dist

Lines Matching defs:tha

70 struct tha {
78 struct tha addr;
266 struct tha6 tha;
278 UNALIGNED_MEMCPY(&tha.src, dst, sizeof(ip6->ip6_dst));
279 UNALIGNED_MEMCPY(&tha.dst, src, sizeof(ip6->ip6_src));
280 tha.port = ((u_int)dport) << 16 | sport;
282 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof(ip6->ip6_dst));
283 UNALIGNED_MEMCPY(&tha.src, src, sizeof(ip6->ip6_src));
284 tha.port = ((u_int)sport) << 16 | dport;
287 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
289 if (memcmp((char *)&tha, (char *)&th->addr,
305 th->addr = tha;
328 struct tha tha;
338 UNALIGNED_MEMCPY(&tha.src, ip->ip_dst,
340 UNALIGNED_MEMCPY(&tha.dst, ip->ip_src,
342 tha.port = ((u_int)dport) << 16 | sport;
344 UNALIGNED_MEMCPY(&tha.dst, ip->ip_dst,
346 UNALIGNED_MEMCPY(&tha.src, ip->ip_src,
348 tha.port = ((u_int)sport) << 16 | dport;
351 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
353 if (memcmp((char *)&tha, (char *)&th->addr,
369 th->addr = tha;