Lines Matching refs:wh
81 unsigned short seqno(struct ieee80211_frame *wh)
83 unsigned short *s = (unsigned short*) wh->i_seq;
305 int wep_decrypt(struct ieee80211_frame *wh, int len, char *key, int klen)
309 char *p = (char*) (wh+1);
319 len -= sizeof(*wh);
333 void wep_encrypt(struct ieee80211_frame *wh, int len, char *key, int klen)
337 char *p = (char*) (wh+1);
347 len -= sizeof(*wh);
356 int frame_type(struct ieee80211_frame *wh, int type, int stype)
358 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != type)
361 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) != stype)
393 static int is_arp(struct ieee80211_frame *wh, int len)
396 if (len > (sizeof(*wh) + 4 + 4 + 39))
402 char *known_pt(struct ieee80211_frame *wh, int *len)
408 arp = is_arp(wh, *len);