Lines Matching refs:mopt
1612 struct mbuf *mopt;
1625 MGET(mopt, M_DONTWAIT, MT_DATA);
1626 if (mopt == 0)
1628 mopt->m_len = JUMBOOPTLEN;
1629 optbuf = mtod(mopt, u_char *);
1631 exthdrs->ip6e_hbh = mopt;
1635 mopt = exthdrs->ip6e_hbh;
1636 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) {
1643 u_int32_t oldoptlen = mopt->m_len;
1668 bcopy(mtod(mopt, caddr_t), mtod(n, caddr_t),
1671 m_freem(mopt);
1672 mopt = exthdrs->ip6e_hbh = n;
1674 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1675 mopt->m_len += JUMBOOPTLEN;
1684 hbh = mtod(mopt, struct ip6_hbh *);