Lines Matching refs:mopt
1182 struct mbuf *mopt;
1195 mopt = m_get(M_NOWAIT, MT_DATA);
1196 if (mopt == NULL)
1198 mopt->m_len = JUMBOOPTLEN;
1199 optbuf = mtod(mopt, u_char *);
1201 exthdrs->ip6e_hbh = mopt;
1205 mopt = exthdrs->ip6e_hbh;
1206 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) {
1213 int oldoptlen = mopt->m_len;
1231 bcopy(mtod(mopt, caddr_t), mtod(n, caddr_t),
1234 m_freem(mopt);
1235 mopt = exthdrs->ip6e_hbh = n;
1237 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1238 mopt->m_len += JUMBOOPTLEN;
1247 hbh = mtod(mopt, struct ip6_hbh *);