Lines Matching refs:mopt
1156 struct mbuf *mopt;
1169 mopt = m_get(M_NOWAIT, MT_DATA);
1170 if (mopt == NULL)
1172 mopt->m_len = JUMBOOPTLEN;
1173 optbuf = mtod(mopt, u_char *);
1175 exthdrs->ip6e_hbh = mopt;
1179 mopt = exthdrs->ip6e_hbh;
1180 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) {
1187 int oldoptlen = mopt->m_len;
1205 bcopy(mtod(mopt, caddr_t), mtod(n, caddr_t),
1208 m_freem(mopt);
1209 mopt = exthdrs->ip6e_hbh = n;
1211 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1212 mopt->m_len += JUMBOOPTLEN;
1221 hbh = mtod(mopt, struct ip6_hbh *);