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