Lines Matching refs:off0
621 int off0; in tcp_input_with_port() local
649 off0 = *offp; in tcp_input_with_port()
659 th = (struct tcphdr *)((caddr_t)ip6 + off0); in tcp_input_with_port()
660 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0; in tcp_input_with_port()
671 th->th_sum = in6_cksum(m, IPPROTO_TCP, off0, tlen); in tcp_input_with_port()
703 if (off0 > sizeof (struct ip)) { in tcp_input_with_port()
705 off0 = sizeof(struct ip); in tcp_input_with_port()
715 th = (struct tcphdr *)((caddr_t)ip + off0); in tcp_input_with_port()
716 tlen = ntohs(ip->ip_len) - off0; in tcp_input_with_port()
736 len = off0 + tlen; in tcp_input_with_port()
748 ip->ip_hl = off0 >> 2; in tcp_input_with_port()
777 if (m->m_len < off0 + off) { in tcp_input_with_port()
778 m = m_pullup(m, off0 + off); in tcp_input_with_port()
785 th = (struct tcphdr *)((caddr_t)ip6 + off0); in tcp_input_with_port()
800 th = (struct tcphdr *)((caddr_t)ip + off0); in tcp_input_with_port()
817 drop_hdrlen = off0 + off; in tcp_input_with_port()