Lines Matching refs:mtod
195 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_ccmp_encrypt()
197 memcpy(mtod(n0, caddr_t), wh, hdrlen); in ieee80211_ccmp_encrypt()
202 ivp = mtod(n0, u_int8_t *) + hdrlen; in ieee80211_ccmp_encrypt()
253 src = mtod(m, u_int8_t *) + moff; in ieee80211_ccmp_encrypt()
254 dst = mtod(n, u_int8_t *) + noff; in ieee80211_ccmp_encrypt()
288 mic = mtod(n, u_int8_t *) + n->m_len; in ieee80211_ccmp_encrypt()
311 wh = mtod(m, struct ieee80211_frame *); in ieee80211_ccmp_get_pn()
358 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_ccmp_decrypt()
401 memcpy(mtod(n0, caddr_t), wh, hdrlen); in ieee80211_ccmp_decrypt()
402 wh = mtod(n0, struct ieee80211_frame *); in ieee80211_ccmp_decrypt()
442 src = mtod(m, u_int8_t *) + moff; in ieee80211_ccmp_decrypt()
443 dst = mtod(n, u_int8_t *) + noff; in ieee80211_ccmp_decrypt()