Lines Matching defs:mcopy
1079 struct mbuf *m, *mcopy, *next;
1124 mcopy = m_dup(m, M_NOWAIT);
1125 for (; mcopy != NULL; mcopy = next) {
1126 next = mcopy->m_nextpkt;
1127 mcopy->m_nextpkt = NULL;
1130 "flush queued frame %p len %d", mcopy,
1131 mcopy->m_pkthdr.len);
1132 mesh_transmit_to_gate(vap, mcopy, rt_gate);
1154 struct mbuf *mcopy;
1180 mcopy = m_dup(m, M_NOWAIT);
1181 if (mcopy == NULL) {
1188 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) +
1190 if (mcopy == NULL) {
1195 m_freem(mcopy);
1198 whcopy = mtod(mcopy, struct ieee80211_frame *);
1200 (mtod(mcopy, uint8_t *) + ieee80211_hdrspace(ic, wh));
1206 mcopy->m_flags |= M_MCAST;
1221 m_freem(mcopy);
1230 M_WME_SETAC(mcopy, WME_AC_BE);
1233 mcopy->m_pkthdr.rcvif = (void *) ni;
1246 err = ieee80211_parent_xmitpkt(ic, mcopy);