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