Lines Matching defs:off0
479 tcp_signature_verify_input(struct mbuf *m, int off0, int tlen, int optlen,
485 ret = tcp_signature_verify(m, off0, tlen, optlen, to, th, tcpbflag);
592 int off0;
629 off0 = *offp;
648 th = (struct tcphdr *)((caddr_t)ip6 + off0);
649 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0;
658 th->th_sum = in6_cksum(m, IPPROTO_TCP, off0, tlen);
687 if (off0 > sizeof (struct ip)) {
689 off0 = sizeof(struct ip);
699 th = (struct tcphdr *)((caddr_t)ip + off0);
700 tlen = ntohs(ip->ip_len) - off0;
717 len = off0 + tlen;
722 ip->ip_len = htons(tlen + off0);
758 IP6_EXTHDR_CHECK(m, off0, off, IPPROTO_DONE);
760 th = (struct tcphdr *)((caddr_t)ip6 + off0);
775 th = (struct tcphdr *)((caddr_t)ip + off0);
792 drop_hdrlen = off0 + off;
1170 if (!tcp_signature_verify_input(m, off0, tlen,
1420 if (!tcp_signature_verify_input(m, off0, tlen, optlen, &to,