Lines Matching defs:protoff
188 ipsec_common_input(struct mbuf **mp, int skip, int protoff, int af, int sproto,
343 prot = (*(tdbp->tdb_xform->xf_input))(mp, tdbp, skip, protoff);
366 ipsec_common_input_cb(struct mbuf **mp, struct tdb *tdbp, int skip, int protoff)
423 m_copydata(m, protoff, 1, (caddr_t) &prot);
767 int protoff;
776 protoff = ipsec_protoff(*mp, *offp, af);
777 if (protoff < 0) {
784 return ipsec_common_input(mp, *offp, protoff, af, proto, 0);
800 int protoff;
809 protoff = ipsec_protoff(*mp, *offp, af);
810 if (protoff < 0) {
817 return ipsec_common_input(mp, *offp, protoff, af, proto, 0);
824 int protoff;
833 protoff = ipsec_protoff(*mp, *offp, af);
834 if (protoff < 0) {
841 return ipsec_common_input(mp, *offp, protoff, af, proto, 0);
970 int protoff, nxt, l;
992 protoff = sizeof(struct ip6_hdr);
997 protoff += l;
998 m_copydata(m, protoff, sizeof(ip6e),
1011 } while (protoff + l < off);
1014 if (protoff + l != off)
1017 protoff += offsetof(struct ip6_ext, ip6e_nxt);
1018 return protoff;