Lines Matching defs:hdrlen
77 static int wep_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
78 static int wep_decrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
187 int hdrlen;
190 hdrlen = ieee80211_hdrspace(ic, mtod(m, void *));
209 ovbcopy(ivp + wep.ic_header, ivp, hdrlen);
210 ivp += hdrlen;
218 !wep_encrypt(k, m, hdrlen))
240 wep_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen)
260 !wep_decrypt(k, m, hdrlen)) {
270 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen);
345 wep_encrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
362 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
375 off = hdrlen + wep.ic_header;
428 wep_decrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
445 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
458 off = hdrlen + wep.ic_header;