Lines Matching defs:hdrlen
75 static int wep_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
76 static int wep_decrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
184 int hdrlen;
186 hdrlen = ieee80211_hdrspace(ic, mtod(m, void *));
195 ovbcopy(ivp + wep.ic_header, ivp, hdrlen);
196 ivp += hdrlen;
204 !wep_encrypt(k, m, hdrlen))
226 wep_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen)
240 !wep_decrypt(k, m, hdrlen)) {
250 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen);
322 wep_encrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
339 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
352 off = hdrlen + wep.ic_header;
405 wep_decrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
422 memcpy(rc4key, mtod(m, uint8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
435 off = hdrlen + wep.ic_header;