Lines Matching refs:off0
614 int off0; in tcp_input_with_port() local
642 off0 = *offp; in tcp_input_with_port()
652 th = (struct tcphdr *)((caddr_t)ip6 + off0); in tcp_input_with_port()
653 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0; in tcp_input_with_port()
664 th->th_sum = in6_cksum(m, IPPROTO_TCP, off0, tlen); in tcp_input_with_port()
696 if (off0 > sizeof (struct ip)) { in tcp_input_with_port()
698 off0 = sizeof(struct ip); in tcp_input_with_port()
708 th = (struct tcphdr *)((caddr_t)ip + off0); in tcp_input_with_port()
709 tlen = ntohs(ip->ip_len) - off0; in tcp_input_with_port()
729 len = off0 + tlen; in tcp_input_with_port()
741 ip->ip_hl = off0 >> 2; in tcp_input_with_port()
770 if (m->m_len < off0 + off) { in tcp_input_with_port()
771 m = m_pullup(m, off0 + off); in tcp_input_with_port()
778 th = (struct tcphdr *)((caddr_t)ip6 + off0); in tcp_input_with_port()
793 th = (struct tcphdr *)((caddr_t)ip + off0); in tcp_input_with_port()
810 drop_hdrlen = off0 + off; in tcp_input_with_port()