Lines Matching defs:hdrlen
64 static int wep_decap(struct ieee80211_key *, struct mbuf *, int hdrlen);
85 static int wep_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
86 static int wep_decrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
133 int hdrlen;
135 hdrlen = ieee80211_hdrspace(ic, mtod(m, void *));
136 ivp = mtod(m, u_int8_t *) + hdrlen;
184 !wep_encrypt(k, m, hdrlen))
206 wep_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen)
219 !wep_decrypt(k, m, hdrlen)) {
230 memmove(mtod(m, u_int8_t *) + wep.ic_header, mtod(m, void *), hdrlen);
303 wep_encrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
322 memcpy(rc4key, mtod(m, u_int8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
335 off = hdrlen + wep.ic_header;
388 wep_decrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
404 memcpy(rc4key, mtod(m, u_int8_t *) + hdrlen, IEEE80211_WEP_IVLEN);
417 off = hdrlen + wep.ic_header;