Lines Matching refs:md
219 * m nexthdrp md
223 * m nexthdrp mprev md
234 esp_output(m, nexthdrp, md, af, sav)
237 struct mbuf *md;
357 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next)
359 if (mprev == NULL || mprev->m_next != md) {
360 ipseclog((LOG_DEBUG, "esp%d_output: md is not in chain\n",
368 for (n = md; n; n = n->m_next)
392 if ((md = ipsec_copypkt(md)) == NULL) {
397 mprev->m_next = md;
412 udp = mtod(md, struct udphdr *);
447 if (M_LEADINGSPACE(md) < esphlen || (md->m_flags & M_EXT) != 0) {
456 n->m_next = md;
465 md->m_len += esphlen;
466 md->m_data -= esphlen;
468 esp = mtod(md, struct esp *);
470 udp = mtod(md, struct udphdr *);
473 esp = mtod(md, struct esp *);
853 esp6_output(m, nexthdrp, md, sav)
856 struct mbuf *md;
864 return esp_output(m, nexthdrp, md, AF_INET6, sav);