Lines Matching refs:newoff
1500 int newoff, off;
1521 newoff = ip6_nexthdr(m, off, proto, &nxt);
1522 if (newoff < 0)
1523 newoff = m->m_pkthdr.len;
1524 else if (newoff <= off) {
1537 if (newoff - off != sizeof(struct ip6_hdr)) {
1542 m_copydata(m, off, newoff - off, (caddr_t)&ip6copy);
1555 newoff = m->m_pkthdr.len;
1575 if (newoff - off > MCLBYTES) {
1580 if (n && newoff - off > MLEN) {
1591 m_copydata(m, off, newoff - off, mtod(n, caddr_t));
1592 n->m_len = newoff - off;
1598 ah_update_mbuf(m, off, newoff - off, algo, &algos);
1610 if (newoff - off > MCLBYTES) {
1615 if (n && newoff - off > MLEN) {
1626 m_copydata(m, off, newoff - off, mtod(n, caddr_t));
1627 n->m_len = newoff - off;
1631 if (newoff - off < hdrlen) {
1682 ah_update_mbuf(m, off, newoff - off, algo, &algos);
1686 if (newoff < m->m_pkthdr.len) {
1688 off = newoff;