Lines Matching defs:mcopy
1074 struct mbuf *m, *mcopy, *next;
1119 mcopy = m_dup(m, IEEE80211_M_NOWAIT);
1120 for (; mcopy != NULL; mcopy = next) {
1121 next = mcopy->m_nextpkt;
1122 mcopy->m_nextpkt = NULL;
1125 "flush queued frame %p len %d", mcopy,
1126 mcopy->m_pkthdr.len);
1127 mesh_transmit_to_gate(vap, mcopy, rt_gate);
1149 struct mbuf *mcopy;
1175 mcopy = m_dup(m, IEEE80211_M_NOWAIT);
1176 if (mcopy == NULL) {
1183 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) +
1185 if (mcopy == NULL) {
1190 m_freem(mcopy);
1193 whcopy = mtod(mcopy, struct ieee80211_frame *);
1195 (mtod(mcopy, uint8_t *) + ieee80211_hdrspace(ic, wh));
1201 mcopy->m_flags |= M_MCAST;
1216 m_freem(mcopy);
1225 M_WME_SETAC(mcopy, WME_AC_BE);
1228 MPASS((mcopy->m_pkthdr.csum_flags & CSUM_SND_TAG) == 0);
1229 mcopy->m_pkthdr.rcvif = (void *) ni;
1242 err = ieee80211_parent_xmitpkt(ic, mcopy);