Lines Matching refs:nth
587 struct tcphdr *nth;
637 nth = (struct tcphdr *)(void *)(ip6 + 1);
643 nth = (struct tcphdr *)(void *)(ip + 1);
645 bcopy((caddr_t)th, (caddr_t)nth, sizeof(struct tcphdr));
659 nth = (struct tcphdr *)(void *)(ip6 + 1);
666 nth = (struct tcphdr *)(void *)(ip + 1);
668 if (th != nth) {
674 nth->th_sport = th->th_sport;
675 nth->th_dport = th->th_dport;
677 xchg(nth->th_dport, nth->th_sport, n_short);
711 nth->th_seq = htonl(seq);
712 nth->th_ack = htonl(ack);
713 nth->th_x2 = 0;
714 nth->th_off = sizeof (struct tcphdr) >> 2;
715 nth->th_flags = flags;
717 nth->th_win = htons((u_short) (win >> tp->rcv_scale));
719 nth->th_win = htons((u_short)win);
720 nth->th_urp = 0;
723 nth->th_sum = 0;
724 nth->th_sum = in6_cksum_phdr(&ip6->ip6_src,
736 nth->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,