Lines Matching refs:tha
72 struct tha {
85 struct tha addr;
266 struct tha tha;
285 memcpy(&tha.src, dst, sizeof ip6->ip6_dst);
286 memcpy(&tha.dst, src, sizeof ip6->ip6_src);
287 tha.port = dport << 16 | sport;
289 memcpy(&tha.dst, dst, sizeof ip6->ip6_dst);
290 memcpy(&tha.src, src, sizeof ip6->ip6_src);
291 tha.port = sport << 16 | dport;
295 * Zero out the tha structure; the src and dst
314 memset(&tha, 0, sizeof(tha));
324 memcpy(&tha.src, dst, sizeof ip->ip_dst);
325 memcpy(&tha.dst, src, sizeof ip->ip_src);
326 tha.port = dport << 16 | sport;
328 memcpy(&tha.dst, dst, sizeof ip->ip_dst);
329 memcpy(&tha.src, src, sizeof ip->ip_src);
330 tha.port = sport << 16 | dport;
344 memcpy(&tha.src, dst, sizeof ip->ip_dst);
345 memcpy(&tha.dst, src, sizeof ip->ip_src);
346 tha.port = dport << 16 | sport;
348 memcpy(&tha.dst, dst, sizeof ip->ip_dst);
349 memcpy(&tha.src, src, sizeof ip->ip_src);
350 tha.port = sport << 16 | dport;
355 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
357 if (memcmp((char *)&tha, (char *)&th->addr,
369 th->addr = tha;