Lines Matching refs:mtod
188 hdrlen = ieee80211_hdrspace(ic, mtod(m, void *)); in wep_encap()
189 wh = mtod(m, struct ieee80211_frame *); in wep_encap()
206 ivp = mtod(m, uint8_t *); in wep_encap()
259 wh = mtod(m, struct ieee80211_frame *); in wep_decap()
270 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen); in wep_decap()
362 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN); in wep_encrypt()
381 pos = mtod(m, uint8_t *) + off; in wep_encrypt()
397 ether_sprintf(mtod(m0, in wep_encrypt()
407 pos = mtod(m, uint8_t *); in wep_encrypt()
445 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN); in wep_decrypt()
464 pos = mtod(m, uint8_t *) + off; in wep_decrypt()
482 mtod(m0, struct ieee80211_frame *)->i_addr2, in wep_decrypt()
489 pos = mtod(m, uint8_t *); in wep_decrypt()