Lines Matching refs:mtod
1148 mtod(m, const struct ieee80211_frame *); in mesh_forward()
1193 whcopy = mtod(mcopy, struct ieee80211_frame *); in mesh_forward()
1195 (mtod(mcopy, uint8_t *) + ieee80211_hdrspace(ic, wh)); in mesh_forward()
1268 memcpy(b, mtod(m, caddr_t), hdrlen); in mesh_decap()
1275 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in mesh_decap()
1287 eh = mtod(m, struct ether_header *); in mesh_decap()
1321 if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) { in mesh_decap()
1328 eh = mtod(m, struct ether_header *); in mesh_decap()
1565 wh = mtod(m, struct ieee80211_frame *); in mesh_input()
1646 wh = mtod(m, struct ieee80211_frame *); /* NB: after defrag */ in mesh_input()
1691 (mtod(m, const uint8_t *) + hdrspace); in mesh_input()
1839 wh = mtod(m0, struct ieee80211_frame *); in mesh_recv_mgmt()
1841 efrm = mtod(m0, uint8_t *) + m0->m_len; in mesh_recv_mgmt()
2759 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *); in mesh_send_action_meshpeering_open()
2827 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *); in mesh_send_action_meshpeering_confirm()
2876 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *); in mesh_send_action_meshpeering_close()
2924 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *); in mesh_send_action_meshlmetric()
2963 m->m_pkthdr.len = m->m_len = frm - mtod(m, uint8_t *); in mesh_send_action_meshgate()