Lines Matching refs:mopt
1826 struct mbuf *mopt;
1839 MGET(mopt, M_DONTWAIT, MT_DATA);
1840 if (mopt == NULL)
1842 mopt->m_len = JUMBOOPTLEN;
1843 optbuf = mtod(mopt, u_char *);
1845 exthdrs->ip6e_hbh = mopt;
1849 mopt = exthdrs->ip6e_hbh;
1850 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) {
1857 u_int32_t oldoptlen = mopt->m_len;
1882 bcopy(mtod(mopt, caddr_t), mtod(n, caddr_t),
1885 m_freem(mopt);
1886 mopt = exthdrs->ip6e_hbh = n;
1888 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1889 mopt->m_len += JUMBOOPTLEN;
1898 hbh = mtod(mopt, struct ip6_hbh *);