Lines Matching defs:tha
71 struct tha {
79 struct tha addr;
257 struct tha6 tha;
269 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst);
270 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src);
271 tha.port = dport << 16 | sport;
273 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst);
274 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src);
275 tha.port = sport << 16 | dport;
278 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
280 if (memcmp((char *)&tha, (char *)&th->addr,
292 th->addr = tha;
313 struct tha tha;
325 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip->ip_dst);
326 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip->ip_src);
327 tha.port = dport << 16 | sport;
329 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip->ip_dst);
330 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip->ip_src);
331 tha.port = sport << 16 | dport;
334 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
336 if (memcmp((char *)&tha, (char *)&th->addr,
348 th->addr = tha;