Lines Matching defs:mcopy
1072 struct mbuf *m, *mcopy, *next;
1117 mcopy = m_dup(m, M_NOWAIT);
1118 for (; mcopy != NULL; mcopy = next) {
1119 next = mcopy->m_nextpkt;
1120 mcopy->m_nextpkt = NULL;
1123 "flush queued frame %p len %d", mcopy,
1124 mcopy->m_pkthdr.len);
1125 mesh_transmit_to_gate(vap, mcopy, rt_gate);
1147 struct mbuf *mcopy;
1173 mcopy = m_dup(m, M_NOWAIT);
1174 if (mcopy == NULL) {
1181 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) +
1183 if (mcopy == NULL) {
1188 m_freem(mcopy);
1191 whcopy = mtod(mcopy, struct ieee80211_frame *);
1193 (mtod(mcopy, uint8_t *) + ieee80211_hdrspace(ic, wh));
1199 mcopy->m_flags |= M_MCAST;
1214 m_freem(mcopy);
1223 M_WME_SETAC(mcopy, WME_AC_BE);
1226 mcopy->m_pkthdr.rcvif = (void *) ni;
1239 err = ieee80211_parent_xmitpkt(ic, mcopy);