Lines Matching refs:md
91 * m nexthdrp md
95 * m nexthdrp mprev md
104 ipcomp_output(m, nexthdrp, md, af, sav)
107 struct mbuf *md;
156 for (n = md; n; n = n->m_next)
176 md0 = m_copym(md, 0, M_COPYALL, M_NOWAIT);
185 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next)
187 if (mprev == NULL || mprev->m_next != md) {
188 ipseclog((LOG_DEBUG, "ipcomp%d_output: md is not in chain\n",
197 if ((md = ipsec_copypkt(md)) == NULL) {
204 mprev->m_next = md;
207 if ((*algo->compress)(m, md, &plen) || mprev->m_next == NULL) {
217 md = mprev->m_next;
224 m_freem(md);
278 if (M_LEADINGSPACE(md) < complen) {
287 n->m_next = md;
291 md->m_len += complen;
292 md->m_data -= complen;
294 ipcomp = mtod(md, struct ipcomp *);
367 ipcomp6_output(m, nexthdrp, md, sav)
370 struct mbuf *md;
379 return ipcomp_output(m, nexthdrp, md, AF_INET6, sav);