Lines Matching defs:th
574 register struct tcphdr *th,
650 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
678 if (th != nth) {
684 nth->th_sport = th->th_sport;
685 nth->th_dport = th->th_dport;
752 tcp_trace(TA_OUTPUT, 0, tp, mtod(m, void *), th, 0);
1768 struct tcphdr th;
1774 &th, sizeof (th));
1775 inp = in_pcblookup_hash(&tcbinfo, faddr, th.th_dport,
1776 ip->ip_src, th.th_sport, 0, NULL);
1783 icmp_tcp_seq = htonl(th.th_seq);
1854 struct tcphdr th;
1903 bzero(&th, sizeof(th));
1904 m_copydata(m, off, sizeof(*thp), (caddr_t)&th);
1906 in6_pcbnotify(&tcbinfo, sa, th.th_dport,
1908 th.th_sport, cmd, NULL, notify);
2361 struct tcphdr *th;
2372 th = (struct tcphdr *)(void *)(ip6 + 1);
2375 tcp_fillheaders(tp, ip6, th);
2381 th = (struct tcphdr *)(ip + 1);
2383 tcp_fillheaders(tp, ip, th);