Lines Matching refs:mtod
130 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_mic()
165 pos = mtod(m, caddr_t) + off; in ieee80211_tkip_mic()
171 pos = mtod(m, caddr_t); in ieee80211_tkip_mic()
212 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_encrypt()
214 memcpy(mtod(n0, caddr_t), wh, hdrlen); in ieee80211_tkip_encrypt()
219 ivp = mtod(n0, u_int8_t *) + hdrlen; in ieee80211_tkip_encrypt()
270 crc = ether_crc32_le_update(crc, mtod(m, caddr_t) + moff, len); in ieee80211_tkip_encrypt()
271 rc4_crypt(&ctx->rc4, mtod(m, caddr_t) + moff, in ieee80211_tkip_encrypt()
272 mtod(n, caddr_t) + noff, len); in ieee80211_tkip_encrypt()
289 mic = mtod(n, caddr_t) + n->m_len; in ieee80211_tkip_encrypt()
296 icvp = mtod(n, caddr_t) + n->m_len; in ieee80211_tkip_encrypt()
325 wh = mtod(m, struct ieee80211_frame *); in ieee80211_tkip_get_tsc()
367 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_decrypt()
407 memcpy(mtod(n0, caddr_t), wh, hdrlen); in ieee80211_tkip_decrypt()
408 wh = mtod(n0, struct ieee80211_frame *); in ieee80211_tkip_decrypt()
451 rc4_crypt(&ctx->rc4, mtod(m, caddr_t) + moff, in ieee80211_tkip_decrypt()
452 mtod(n, caddr_t) + noff, len); in ieee80211_tkip_decrypt()
453 crc = ether_crc32_le_update(crc, mtod(n, caddr_t) + noff, len); in ieee80211_tkip_decrypt()