/freebsd-9.3-release/tools/tools/net80211/w00t/assoc/ |
H A D | assoc.c | 85 void fill_basic(struct ieee80211_frame *wh, struct params *p) argument 89 wh->i_dur[0] = 0x69; 90 wh->i_dur[1] = 0x00; 92 memcpy(wh->i_addr1, p->ap, 6); 93 memcpy(wh->i_addr2, p->mac, 6); 94 memcpy(wh->i_addr3, p->bssid, 6); 96 seq = (short*)wh->i_seq; 118 struct ieee80211_frame *wh; local 124 wh = (struct ieee80211_frame*) buf; 125 fill_basic(wh, 152 struct ieee80211_frame *wh; local 199 struct ieee80211_frame *wh; local 236 for_me(struct ieee80211_frame *wh, char *mac) argument 241 from_ap(struct ieee80211_frame *wh, char *mac) argument 246 ack(struct params *p, struct ieee80211_frame *wh) argument 257 generic_process(struct ieee80211_frame *wh, struct params *p, int len) argument 424 struct ieee80211_frame *wh; local 490 struct ieee80211_frame *wh; local 544 struct ieee80211_frame *wh; local 590 struct ieee80211_frame *wh; local 655 struct ieee80211_frame *wh; local 916 struct ieee80211_frame *wh; local [all...] |
/freebsd-9.3-release/tools/tools/net80211/w00t/ap/ |
H A D | ap.c | 92 void fill_basic(struct ieee80211_frame *wh, struct params *p) argument 96 wh->i_dur[0] = 0x69; 97 wh->i_dur[1] = 0x00; 99 memcpy(wh->i_addr2, p->mac, 6); 101 seq = (short*)wh->i_seq; 119 int fill_beacon(struct params *p, struct ieee80211_frame *wh) argument 124 ptr = (char*) (wh+1); 150 return ptr - ((char*) wh); 156 struct ieee80211_frame *wh; local 160 wh 190 struct ieee80211_frame *wh; local 209 read_preq(struct params *p, struct ieee80211_frame *wh, int len) argument 238 struct ieee80211_frame *wh; local 262 read_auth(struct params *p, struct ieee80211_frame *wh, int len) argument 288 struct ieee80211_frame *wh; local 321 read_assoc(struct params *p, struct ieee80211_frame *wh, int len) argument 352 read_mgt(struct params *p, struct ieee80211_frame *wh, int len) argument 385 struct ieee80211_frame *wh; local 398 read_rts(struct params *p, struct ieee80211_frame *wh, int len) argument 406 read_ack(struct params *p, struct ieee80211_frame *wh, int len) argument 412 read_ctl(struct params *p, struct ieee80211_frame *wh, int len) argument 437 broadcast(struct ieee80211_frame *wh) argument 447 enque(struct params *p, struct ieee80211_frame *wh, int len) argument 465 relay_data(struct params *p, struct ieee80211_frame *wh, int len) argument 495 read_real_data(struct params *p, struct ieee80211_frame *wh, int len) argument 548 read_data(struct params *p, struct ieee80211_frame *wh, int len) argument 595 duplicate(struct params *p, struct ieee80211_frame *wh, int rc) argument 642 ack(struct params *p, struct ieee80211_frame *wh) argument 657 struct ieee80211_frame *wh; local 713 struct ieee80211_frame *wh; local [all...] |
/freebsd-9.3-release/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 52 struct ieee80211_frame *wh; member in struct:queue 86 int wanted(struct params *p, struct ieee80211_frame *wh, int len) argument 90 if (wh->i_fc[1] & IEEE80211_FC1_DIR_TODS) { 91 bssid = wh->i_addr1; 92 sa = wh->i_addr2; 95 bssid = wh->i_addr2; 96 sa = wh->i_addr3; 102 if (!(wh->i_fc[1] & IEEE80211_FC1_WEP)) { 114 void enque(struct params *p, char **buf, struct ieee80211_frame *wh, int len) argument 154 q->wh 181 struct ieee80211_frame *wh; local 319 got_mcast(struct params *p, struct ieee80211_frame *wh, int len) argument 328 struct ieee80211_frame *wh; local [all...] |
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_adhoc.c | 292 struct ieee80211_frame *wh; local 309 wh = mtod(m, struct ieee80211_frame *); 311 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 313 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ 335 wh = mtod(m, struct ieee80211_frame *); 337 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != 341 wh->i_fc[0], wh->i_fc[1]); 346 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 347 type = wh 685 struct ieee80211_frame *wh; local 873 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_sta.c | 454 isdstods_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 456 #define QWH4(wh) ((const struct ieee80211_qosframe_addr4 *)wh) 457 #define WH4(wh) ((const struct ieee80211_frame_addr4 *)wh) 462 if (!IEEE80211_IS_MULTICAST(wh->i_addr3)) 464 sa = IEEE80211_QOS_HAS_SEQ(wh) ? QWH4(wh)->i_addr4 : WH4(wh)->i_addr4; 475 isfromds_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 519 struct ieee80211_frame *wh; local 913 sta_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 942 sta_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1062 ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1105 ieee80211_parse_csaparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1256 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_wds.c | 413 struct ieee80211_frame *wh; local 429 wh = mtod(m, struct ieee80211_frame *); 431 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 433 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ 454 wh = mtod(m, struct ieee80211_frame *); 456 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) 459 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != 463 wh->i_fc[0], wh->i_fc[1]); 468 dir = wh 749 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_hostap.c | 479 struct ieee80211_frame *wh; local 496 wh = mtod(m, struct ieee80211_frame *); 498 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 500 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ 522 wh = mtod(m, struct ieee80211_frame *); 524 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != 528 wh->i_fc[0], wh->i_fc[1]); 533 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 534 type = wh 917 hostap_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh, int rssi, int nf, uint16_t seq, uint16_t status) argument 995 hostap_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, int rssi, int nf, uint16_t seq, uint16_t status) argument 1233 ieee80211_parse_wpa(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1381 ieee80211_parse_rsn(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1473 wpa_assocreq(struct ieee80211_node *ni, struct ieee80211_rsnparms *rsnparms, const struct ieee80211_frame *wh, const uint8_t *wpa, const uint8_t *rsn, uint16_t capinfo) argument 1603 ratesetmismatch(struct ieee80211_node *ni, const struct ieee80211_frame *wh, int reassoc, int resp, const char *tag, int rate) argument 1614 capinfomismatch(struct ieee80211_node *ni, const struct ieee80211_frame *wh, int reassoc, int resp, const char *tag, int capinfo) argument 1628 htcapmismatch(struct ieee80211_node *ni, const struct ieee80211_frame *wh, int reassoc, int resp) argument 1639 authalgreject(struct ieee80211_node *ni, const struct ieee80211_frame *wh, int algo, int seq, int status) argument 1683 struct ieee80211_frame *wh; local 2250 struct ieee80211_frame_min *wh; local [all...] |
H A D | ieee80211_output.c | 389 struct ieee80211_frame *wh; local 431 wh = mtod(m, struct ieee80211_frame *); 432 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != 437 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { 440 ni = ieee80211_find_txnode(vap, wh->i_addr1); 446 ni = ieee80211_find_txnode(vap, wh->i_addr3); 476 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { 517 #define WH4(wh) ((struct ieee80211_frame_addr4 *)wh) 520 struct ieee80211_frame *wh local 616 struct ieee80211_frame *wh; local 687 struct ieee80211_frame *wh; local 1020 struct ieee80211_frame *wh; local 1368 struct ieee80211_frame *wh, *whf; local 1756 struct ieee80211_frame *wh; local 2394 struct ieee80211_frame *wh; local 2693 struct ieee80211_frame *wh; local 2797 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_crypto_none.c | 95 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local 102 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr1, 113 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local 114 const uint8_t *ivp = (const uint8_t *)&wh[1]; 122 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
|
H A D | ieee80211_input.c | 161 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local 165 uint8_t more_frag = wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG; 168 KASSERT(!IEEE80211_IS_MULTICAST(wh->i_addr1), ("multicast fragm?")); 170 rxseq = le16toh(*(uint16_t *)wh->i_seq); 209 !IEEE80211_ADDR_EQ(wh->i_addr1, lwh->i_addr1) || 210 !IEEE80211_ADDR_EQ(wh->i_addr2, lwh->i_addr2)) { 235 *(uint16_t *) lwh->i_seq = *(uint16_t *) wh->i_seq; 281 struct ieee80211_qosframe_addr4 wh; local 285 KASSERT(hdrlen <= sizeof(wh), 286 ("hdrlen %d > max %zd", hdrlen, sizeof(wh))); 471 struct ieee80211_frame *wh; local 705 struct ieee80211_frame *wh; local 781 ieee80211_getbssid(const struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 809 ieee80211_note_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *fmt, ...) argument 838 ieee80211_discard_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument 859 ieee80211_discard_ie(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument [all...] |
H A D | ieee80211_crypto_ccmp.c | 208 struct ieee80211_frame *wh; local 216 wh = mtod(m, struct ieee80211_frame *); 222 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 227 tid = ieee80211_gettid(wh); 234 ieee80211_notify_replay_failure(vap, wh, k, pn, tid); 297 ccmp_init_blocks(rijndael_ctx *ctx, struct ieee80211_frame *wh, argument 302 #define IS_QOS_DATA(wh) IEEE80211_QOS_HAS_SEQ(wh) 311 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2); 330 aad[2] = wh 405 struct ieee80211_frame *wh; local 551 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_input.h | 34 wh, NULL, "%s", "no " #__elem ); \ 39 wh, NULL, "bad " #__elem " len %d", (__elem)[1]); \ 48 wh, NULL, "ie too short, got %d, expected %d", \ 67 wh->i_addr2, _ssid); \ 167 ieee80211_check_rxseq(struct ieee80211_node *ni, struct ieee80211_frame *wh) argument 179 rxseq = le16toh(*(uint16_t *)wh->i_seq); 180 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK; 186 tid = ieee80211_gettid(wh); 215 (wh->i_fc[1] & IEEE80211_FC1_RETRY)) 231 if ((wh [all...] |
H A D | ieee80211_proto.h | 157 const struct ieee80211_frame *wh = data; local 161 KASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL, 163 if (IEEE80211_IS_DSTODS(wh)) 165 if (IEEE80211_QOS_HAS_SEQ(wh)) 176 const struct ieee80211_frame *wh = data; local 178 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) { 179 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) { 291 ieee80211_gettid(const struct ieee80211_frame *wh) argument 295 if (IEEE80211_QOS_HAS_SEQ(wh)) { 296 if (IEEE80211_IS_DSTODS(wh)) [all...] |
H A D | ieee80211_mesh.c | 854 const struct ieee80211_frame *wh = local 863 IEEE80211_NOTE_FRAME(vap, IEEE80211_MSG_MESH, wh, 869 IEEE80211_NOTE_FRAME(vap, IEEE80211_MSG_MESH, wh, 876 IEEE80211_NOTE_FRAME(vap, IEEE80211_MSG_MESH, wh, 882 mcopy = m_pullup(mcopy, ieee80211_hdrspace(ic, wh) + 885 IEEE80211_NOTE_FRAME(vap, IEEE80211_MSG_MESH, wh, 894 (mtod(mcopy, uint8_t *) + ieee80211_hdrspace(ic, wh)); 898 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { 904 IEEE80211_NOTE_FRAME(vap, IEEE80211_MSG_MESH, wh, 932 #define WHDIR(wh) ((w 935 const struct ieee80211_qosframe_addr4 *wh; local 1020 mesh_isucastforme(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1047 struct ieee80211_frame *wh; local 1308 struct ieee80211_frame *wh; local 1549 mesh_parse_meshpeering_action(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm, struct ieee80211_meshpeer_ie *mp, uint8_t subtype) argument 1631 mesh_recv_action_meshpeering_open(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument 1764 mesh_recv_action_meshpeering_confirm(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument 1826 mesh_recv_action_meshpeering_close(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument 1865 mesh_recv_action_meshlmetric_req(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument 1880 mesh_recv_action_meshlmetric_rep(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument 2558 ieee80211_mesh_init_neighbor(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp) argument [all...] |
H A D | ieee80211_crypto_tkip.c | 168 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local 171 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 219 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local 227 hdrlen = ieee80211_hdrspace(ic, wh); 254 struct ieee80211_frame *wh; local 261 wh = mtod(m, struct ieee80211_frame *); 267 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 276 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 282 tid = ieee80211_gettid(wh); 289 ieee80211_notify_replay_failure(vap, wh, 328 struct ieee80211_frame *wh; local 767 const struct ieee80211_frame_addr4 *wh = local 928 struct ieee80211_frame *wh; local 958 struct ieee80211_frame *wh; local [all...] |
H A D | ieee80211_crypto.c | 532 struct ieee80211_frame *wh; local 542 wh = mtod(m, struct ieee80211_frame *); 543 if (IEEE80211_IS_MULTICAST(wh->i_addr1) || 547 wh->i_addr1, 576 struct ieee80211_frame *wh; local 595 wh = mtod(m, struct ieee80211_frame *); 597 if (IEEE80211_IS_MULTICAST(wh->i_addr1) || 609 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
|
/freebsd-9.3-release/tools/tools/net80211/w00t/prga/ |
H A D | prga.c | 150 int is_arp(struct ieee80211_frame *wh, int len) argument 153 if (len > (sizeof(*wh) + 4 + 4 + 39)) 163 struct ieee80211_frame *wh; local 172 wh = get_wifi(buf, &rc); 173 if (!wh) 176 if (!frame_type(wh, IEEE80211_FC0_TYPE_DATA, 180 if (is_arp(wh, rc)) 185 if (wh->i_fc[1] & IEEE80211_FC1_DIR_TODS) 186 bssid = wh->i_addr1; 188 bssid = wh 239 struct ieee80211_frame *wh; local 259 struct ieee80211_frame *wh; local 341 struct ieee80211_frame *wh; local 408 struct ieee80211_frame *wh; local 510 struct ieee80211_frame *wh; local [all...] |
/freebsd-9.3-release/tools/tools/net80211/w00t/redir/ |
H A D | redir.c | 53 struct ieee80211_frame *wh; member in struct:queue 127 int wanted(struct params *p, struct ieee80211_frame *wh, int len) argument 131 if (wh->i_fc[1] & IEEE80211_FC1_DIR_TODS) { 132 bssid = wh->i_addr1; 133 sa = wh->i_addr2; 136 bssid = wh->i_addr2; 137 sa = wh->i_addr3; 143 if (!(wh->i_fc[1] & IEEE80211_FC1_WEP)) { 155 void enque(struct params *p, char **buf, struct ieee80211_frame *wh, int len) argument 195 q->wh 237 struct ieee80211_frame *wh; local 257 struct ieee80211_frame *wh; local 334 struct ieee80211_frame *wh; local 388 struct ieee80211_frame *wh; local [all...] |
/freebsd-9.3-release/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.h | 46 unsigned short seqno(struct ieee80211_frame *wh); 50 int wep_decrypt(struct ieee80211_frame *wh, int len, char *key, int klen); 51 void wep_encrypt(struct ieee80211_frame *wh, int len, char *key, int klen); 52 int frame_type(struct ieee80211_frame *wh, int type, int stype); 55 char *known_pt(struct ieee80211_frame *wh, int *len);
|
H A D | w00t.c | 81 unsigned short seqno(struct ieee80211_frame *wh) argument 83 unsigned short *s = (unsigned short*) wh->i_seq; 305 int wep_decrypt(struct ieee80211_frame *wh, int len, char *key, int klen) argument 309 char *p = (char*) (wh+1); 319 len -= sizeof(*wh); 333 void wep_encrypt(struct ieee80211_frame *wh, int len, char *key, int klen) argument 337 char *p = (char*) (wh+1); 347 len -= sizeof(*wh); 356 int frame_type(struct ieee80211_frame *wh, int type, int stype) argument 358 if ((wh 393 is_arp(struct ieee80211_frame *wh, int len) argument 402 known_pt(struct ieee80211_frame *wh, int *len) argument [all...] |
/freebsd-9.3-release/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 82 struct ieee80211_frame wh; member in struct:frag_state 585 void fill_basic(struct ieee80211_frame* wh) { argument 588 memcpy(wh->i_addr1, victim.bss, 6); 589 memcpy(wh->i_addr2, mymac, 6); 590 memcpy(wh->i_addr3, victim.bss, 6); 594 sp = (unsigned short*) wh->i_seq; 597 sp = (unsigned short*) wh->i_dur; 603 struct ieee80211_frame* wh = (struct ieee80211_frame*) buf; local 608 fill_basic(wh); 609 wh 659 struct ieee80211_frame* wh = (struct ieee80211_frame*) buf; local 673 get_victim_ssid(struct ieee80211_frame* wh, int len) argument 995 stuff_for_us(struct ieee80211_frame* wh, int len) argument 1154 decrypt_arpreq(struct ieee80211_frame* wh, int rd) argument 1206 log_wep(struct ieee80211_frame* wh, int len) argument 1242 try_dictionary(struct ieee80211_frame* wh, int len) argument 1336 is_arp(struct ieee80211_frame *wh, int len) argument 1346 get_sa(struct ieee80211_frame *wh) argument 1354 get_da(struct ieee80211_frame *wh) argument 1362 known_clear(void *clear, struct ieee80211_frame *wh, int len) argument 1415 add_keystream(struct ieee80211_frame* wh, int rd) argument 1433 got_wep(struct ieee80211_frame* wh, int rd) argument 1552 stuff_for_net(struct ieee80211_frame* wh, int rd) argument 1587 struct ieee80211_frame* wh = (struct ieee80211_frame *) buf; local 1690 struct ieee80211_frame* wh; local 1849 struct ieee80211_frame* wh; local 1968 struct ieee80211_frame* wh; local 2219 struct ieee80211_frame* wh; local [all...] |
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-enc.c | 43 #define ENC_PRINT_TYPE(wh, xf, nam) \ 44 if ((wh) & (xf)) { \ 45 printf("%s%s", nam, (wh) == (xf) ? "): " : ","); \ 46 (wh) &= ~(xf); \
|
/freebsd-9.3-release/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 297 int header_len(struct ieee80211_frame *wh) argument 299 int len = sizeof(*wh); 301 switch (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) { 303 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) { 343 wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK); 348 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) { 372 wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK); 377 if (wh->i_fc[1] & IEEE80211_FC1_DIR_DSTODS) 378 len += sizeof(wh->i_addr1); 383 wh 471 struct ieee80211_frame *wh; local 539 struct ieee80211_frame *wh = &u.w; local [all...] |
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_pppoe.c | 368 * Also assume that neg->wh points to the correct 373 struct pppoe_full_hdr *wh = &sp->neg->pkt->pkt_header; local 384 dp = (char *)(&wh->ph + 1); 389 if ((length + tlen) > (ETHER_MAX_LEN - 4 - sizeof(*wh))) { 398 wh->ph.length = htons(length); 399 sp->neg->m->m_len = length + sizeof(*wh); 400 sp->neg->m->m_pkthdr.len = length + sizeof(*wh); 559 pppoe_findsession(priv_p privp, const struct pppoe_full_hdr *wh) argument 561 uint16_t session = ntohs(wh->ph.sid); 569 wh 1136 struct pppoe_full_hdr *wh; local 1284 const struct pppoe_full_hdr *wh; local 1744 struct pppoe_full_hdr *wh; local [all...] |
/freebsd-9.3-release/sys/dev/ath/ |
H A D | if_ath_tx.c | 355 struct ieee80211_frame *wh; local 358 wh = mtod(last->bf_m, struct ieee80211_frame *); 359 wh->i_fc[1] |= IEEE80211_FC1_MORE_DATA; 507 struct ieee80211_frame *wh; local 519 wh = mtod(m0, struct ieee80211_frame *); 520 iswep = wh->i_fc[1] & IEEE80211_FC1_WEP; 521 ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1); 523 hdrlen = ieee80211_anyhdrsize(wh); 537 wh = mtod(m0, struct ieee80211_frame *); 550 wh 884 struct ieee80211_frame *wh; local [all...] |