Lines Matching defs:protoff
215 ipsec_common_input(struct mbuf *m, int skip, int protoff, int af, int sproto)
343 error = (*sav->tdb_xform->xf_input)(m, sav, skip, protoff);
367 int skip, int protoff)
454 int protoff, nxt;
464 protoff = offsetof(struct ip6_hdr, ip6_nxt);
467 protoff = sizeof(struct ip6_hdr);
471 protoff += l;
472 m_copydata(*mp, protoff, sizeof(ip6e), &ip6e);
483 } while (protoff + l < *offp);
486 if (protoff + l != *offp) {
488 "protoff %u, l %u, off %u\n", protoff, l, *offp);
496 protoff += offsetof(struct ip6_ext, ip6e_nxt);
498 (void) ipsec_common_input(*mp, *offp, protoff, AF_INET6, proto);
508 int protoff)
546 m_copydata(m, protoff, sizeof(prot), &prot);