/openbsd/usr.sbin/hostapd/ |
H A D | print-802_11.c | 66 int ieee80211_hdr(struct ieee80211_frame *); 69 int ieee80211_elements(struct ieee80211_frame *); 70 int ieee80211_frame(struct ieee80211_frame *); 71 int ieee80211_print(struct ieee80211_frame *); 79 ieee80211_hdr(struct ieee80211_frame *wh) in ieee80211_hdr() 169 ieee80211_elements(struct ieee80211_frame *wh) in ieee80211_elements() 326 ieee80211_frame(struct ieee80211_frame *wh) in ieee80211_frame() function 422 ieee80211_print(struct ieee80211_frame *wh) in ieee80211_print() 428 return (ieee80211_frame(wh)); in ieee80211_print() 434 struct ieee80211_frame *wh = (struct ieee80211_frame*)buf; in ieee802_11_if_print() [all …]
|
H A D | apme.c | 82 u_int8_t buf[sizeof(struct ieee80211_frame) + sizeof(u_int16_t)]; in hostapd_apme_deauth() 83 struct ieee80211_frame *wh; in hostapd_apme_deauth() 86 wh = (struct ieee80211_frame *)&buf[0]; in hostapd_apme_deauth() 236 (ssize_t)sizeof(struct ieee80211_frame)) in hostapd_apme_input() 266 struct ieee80211_frame wh; in hostapd_apme_output() 298 iov[0].iov_len = sizeof(struct ieee80211_frame); in hostapd_apme_output() 346 struct ieee80211_frame *wh; in hostapd_apme_frame() 351 wh = (struct ieee80211_frame *)(buf + offset); in hostapd_apme_frame() 354 if (len < sizeof(struct ieee80211_frame)) in hostapd_apme_frame()
|
H A D | handle.c | 112 struct ieee80211_frame *wh; in hostapd_handle_frame() 122 wh = (struct ieee80211_frame *)(buf + offset); in hostapd_handle_frame()
|
/openbsd/sys/dev/ic/ |
H A D | acxreg.h | 340 struct ieee80211_frame data; 347 struct ieee80211_frame f; 355 (sizeof(uint16_t) + sizeof(struct ieee80211_frame) + (var_len)) 361 struct ieee80211_frame f; 372 (sizeof(uint16_t) + sizeof(struct ieee80211_frame) + \ 380 struct ieee80211_frame f; 392 (sizeof(uint16_t) + sizeof(struct ieee80211_frame) + \
|
H A D | an.c | 334 sizeof(struct ieee80211_frame) + 64); in an_attach() 347 struct ieee80211_frame *wh; in an_rxeof() 378 off = ALIGN(sizeof(struct ieee80211_frame)); in an_rxeof() 407 m->m_data += off - sizeof(struct ieee80211_frame); in an_rxeof() 427 gap = m->m_data + sizeof(struct ieee80211_frame) - in an_rxeof() 464 wh = mtod(m, struct ieee80211_frame *); in an_rxeof() 1078 struct ieee80211_frame *wh; in an_start() 1125 wh = mtod(m, struct ieee80211_frame *); in an_start() 1128 m_copydata(m, 0, sizeof(struct ieee80211_frame), in an_start() 1134 m_adj(m, sizeof(struct ieee80211_frame) - sizeof(len)); in an_start() [all …]
|
H A D | acx.c | 362 sizeof(struct ieee80211_frame) + 64); in acx_attach() 915 struct ieee80211_frame *wh; in acx_start() 929 wh = mtod(m, struct ieee80211_frame *); in acx_start() 999 wh = mtod(m, struct ieee80211_frame *); in acx_start() 1350 struct ieee80211_frame *wh; in acx_rxeof() 1355 wh = mtod(m, struct ieee80211_frame *); in acx_rxeof() 1366 wh = mtod(m, struct ieee80211_frame *); in acx_rxeof() 2298 struct ieee80211_frame *wh; in acx_set_null_tmplt() 2318 struct ieee80211_frame *wh; in acx_set_probe_req_tmplt() 2354 struct ieee80211_frame *wh; in acx_set_probe_resp_tmplt() [all …]
|
H A D | ath.c | 795 struct ieee80211_frame *wh; in ath_start() 860 wh = mtod(m, struct ieee80211_frame *); in ath_start() 864 wh = mtod(m, struct ieee80211_frame *); in ath_start() 1780 struct ieee80211_frame *wh; in ath_rx_proc() 1781 struct ieee80211_frame whbuf; in ath_rx_proc() 1909 wh = mtod(m, struct ieee80211_frame *); in ath_rx_proc() 1919 wh = mtod(m, struct ieee80211_frame *); in ath_rx_proc() 1928 wh = mtod(m, struct ieee80211_frame *); in ath_rx_proc() 1995 struct ieee80211_frame *wh; in ath_tx_start() 2008 wh = mtod(m0, struct ieee80211_frame *); in ath_tx_start() [all …]
|
H A D | malo.c | 399 sizeof(struct ieee80211_frame) + 64); in malo_attach() 1370 struct ieee80211_frame *wh; in malo_tx_mgt() 1378 if (m0->m_len < sizeof(struct ieee80211_frame)) { in malo_tx_mgt() 1379 m0 = m_pullup(m0, sizeof(struct ieee80211_frame)); in malo_tx_mgt() 1385 wh = mtod(m0, struct ieee80211_frame *); in malo_tx_mgt() 1472 struct ieee80211_frame *wh; in malo_tx_data() 1482 if (m0->m_len < sizeof(struct ieee80211_frame)) { in malo_tx_data() 1489 wh = mtod(m0, struct ieee80211_frame *); in malo_tx_data() 1497 wh = mtod(m0, struct ieee80211_frame *); in malo_tx_data() 1601 struct ieee80211_frame *wh; in malo_rx_intr() [all …]
|
H A D | acx100.c | 716 struct ieee80211_frame *f; in acx100_proc_wep_rxbuf() 721 f = mtod(m, struct ieee80211_frame *); in acx100_proc_wep_rxbuf() 726 mac_hdrlen = sizeof(struct ieee80211_frame); in acx100_proc_wep_rxbuf()
|
H A D | rt2560.c | 279 sizeof (struct ieee80211_frame) + 64); in rt2560_attach() 1082 struct ieee80211_frame *wh; in rt2560_decryption_intr() 1195 wh = mtod(m, struct ieee80211_frame *); in rt2560_decryption_intr() 1589 sizeof (struct ieee80211_frame) + in rt2560_tx_bcn() 1610 struct ieee80211_frame *wh; in rt2560_tx_mgt() 1645 wh = mtod(m0, struct ieee80211_frame *); in rt2560_tx_mgt() 1691 struct ieee80211_frame *wh; in rt2560_tx_data() 1698 wh = mtod(m0, struct ieee80211_frame *); in rt2560_tx_data() 1707 wh = mtod(m0, struct ieee80211_frame *); in rt2560_tx_data() 1850 wh = mtod(m0, struct ieee80211_frame *); in rt2560_tx_data()
|
/openbsd/sys/net80211/ |
H A D | ieee80211_input.c | 162 struct ieee80211_frame *wh; in ieee80211_input_hwdecrypt() 274 struct ieee80211_frame *wh; in ieee80211_inputm() 825 struct ieee80211_frame *wh; in ieee80211_input_ba() 907 struct ieee80211_frame *wh; in ieee80211_input_ba_seq() 915 struct ieee80211_frame *); in ieee80211_input_ba_seq() 1122 struct ieee80211_frame *wh; in ieee80211_decap() 1233 struct ieee80211_frame *wh; in ieee80211_amsdu_decap() 1608 const struct ieee80211_frame *wh; in ieee80211_recv_probe_resp() 2046 const struct ieee80211_frame *wh; in ieee80211_recv_probe_req() 2149 const struct ieee80211_frame *wh; in ieee80211_recv_auth() [all …]
|
H A D | ieee80211_crypto_bip.c | 92 struct ieee80211_frame *wh; in ieee80211_bip_encap() 96 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_bip_encap() 156 struct ieee80211_frame *wh; in ieee80211_bip_decap() 161 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_bip_decap()
|
H A D | ieee80211_crypto_ccmp.c | 81 ieee80211_ccmp_phase1(AES_CTX *ctx, const struct ieee80211_frame *wh, in ieee80211_ccmp_phase1() 170 const struct ieee80211_frame *wh; in ieee80211_ccmp_encrypt() 195 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_ccmp_encrypt() 307 struct ieee80211_frame *wh; in ieee80211_ccmp_get_pn() 311 wh = mtod(m, struct ieee80211_frame *); in ieee80211_ccmp_get_pn() 347 struct ieee80211_frame *wh; in ieee80211_ccmp_decrypt() 358 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_ccmp_decrypt() 402 wh = mtod(n0, struct ieee80211_frame *); in ieee80211_ccmp_decrypt()
|
H A D | ieee80211_crypto_tkip.c | 122 const struct ieee80211_frame *wh; in ieee80211_tkip_mic() 130 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_mic() 190 const struct ieee80211_frame *wh; in ieee80211_tkip_encrypt() 212 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_encrypt() 320 struct ieee80211_frame *wh; in ieee80211_tkip_get_tsc() 325 wh = mtod(m, struct ieee80211_frame *); in ieee80211_tkip_get_tsc() 357 struct ieee80211_frame *wh; in ieee80211_tkip_decrypt() 367 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_tkip_decrypt() 408 wh = mtod(n0, struct ieee80211_frame *); in ieee80211_tkip_decrypt()
|
H A D | ieee80211_crypto_wep.c | 86 const struct ieee80211_frame *wh; in ieee80211_wep_encrypt() 108 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_wep_encrypt() 204 struct ieee80211_frame *wh; in ieee80211_wep_decrypt() 211 wh = mtod(m0, struct ieee80211_frame *); in ieee80211_wep_decrypt() 243 wh = mtod(n0, struct ieee80211_frame *); in ieee80211_wep_decrypt()
|
H A D | ieee80211_proto.h | 68 extern u_int ieee80211_get_hdrlen(const struct ieee80211_frame *); 88 const struct ieee80211_frame *, u_int16_t); 157 const struct ieee80211_frame *, struct ieee80211_node *,
|
H A D | ieee80211_output.c | 115 struct ieee80211_frame *wh; in ieee80211_output() 137 wh = mtod(m, struct ieee80211_frame *); in ieee80211_output() 181 struct ieee80211_frame *wh; in ieee80211_mgmt_output() 199 wh = mtod(m, struct ieee80211_frame *); in ieee80211_mgmt_output() 526 struct ieee80211_frame *wh; in ieee80211_encap() 541 wh = mtod(m, struct ieee80211_frame *); in ieee80211_encap() 649 wh = mtod(m, struct ieee80211_frame *); in ieee80211_encap() 2043 struct ieee80211_frame *wh; in ieee80211_beacon_alloc() 2071 wh = mtod(m, struct ieee80211_frame *); in ieee80211_beacon_alloc() 2128 const struct ieee80211_frame *wh; in ieee80211_pwrsave() [all …]
|
H A D | ieee80211.h | 43 struct ieee80211_frame { struct 245 ieee80211_has_seq(const struct ieee80211_frame *wh) in ieee80211_has_seq() 252 ieee80211_has_addr4(const struct ieee80211_frame *wh) in ieee80211_has_addr4() 259 ieee80211_has_qos(const struct ieee80211_frame *wh) in ieee80211_has_qos() 267 ieee80211_has_htc(const struct ieee80211_frame *wh) in ieee80211_has_htc() 276 ieee80211_get_qos(const struct ieee80211_frame *wh) in ieee80211_get_qos()
|
H A D | ieee80211_rssadapt.h | 97 const struct ieee80211_rateset *, const struct ieee80211_frame *,
|
H A D | ieee80211_crypto.c | 193 ieee80211_get_txkey(struct ieee80211com *ic, const struct ieee80211_frame *wh, in ieee80211_get_txkey() 217 struct ieee80211_frame *wh; in ieee80211_get_rxkey() 222 wh = mtod(m, struct ieee80211_frame *); in ieee80211_get_rxkey()
|
H A D | ieee80211_crypto.h | 117 const struct ieee80211_frame *, struct ieee80211_node *);
|
/openbsd/usr.sbin/tcpdump/ |
H A D | print-802_11.c | 97 int ieee80211_hdr(struct ieee80211_frame *); 98 int ieee80211_data(struct ieee80211_frame *, u_int); 112 int ieee80211_frame(struct ieee80211_frame *, u_int); 113 int ieee80211_print(struct ieee80211_frame *, u_int); 122 ieee80211_hdr(struct ieee80211_frame *wh) in ieee80211_hdr() 181 ieee80211_data(struct ieee80211_frame *wh, u_int len) in ieee80211_data() 1218 ieee80211_frame(struct ieee80211_frame *wh, u_int len) in ieee80211_frame() function 1398 return (ieee80211_frame(wh, len)); in ieee80211_print() 1405 struct ieee80211_frame *wh = (struct ieee80211_frame*)p; in ieee802_11_if_print() 1429 struct ieee80211_frame *wh; in ieee802_11_radio_if_print() [all …]
|
/openbsd/sys/dev/usb/ |
H A D | if_uath.c | 378 sizeof (struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN); in uath_attach() 1153 struct ieee80211_frame *wh; in uath_data_rxeof() 1219 wh = mtod(m, struct ieee80211_frame *); in uath_data_rxeof() 1230 IEEE80211_WEP_KIDLEN, wh, sizeof (struct ieee80211_frame)); in uath_data_rxeof() 1233 wh = mtod(m, struct ieee80211_frame *); in uath_data_rxeof() 1346 const struct ieee80211_frame *wh; in uath_tx_data() 1376 wh = mtod(m0, struct ieee80211_frame *); in uath_tx_data() 1382 bcopy(wh, frm, sizeof (struct ieee80211_frame)); in uath_tx_data() 1383 frm += sizeof (struct ieee80211_frame); in uath_tx_data() 1396 m_copydata(m0, sizeof(struct ieee80211_frame), in uath_tx_data() [all …]
|
H A D | if_urtwn.c | 509 sizeof(struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN); in urtwn_attach() 1122 struct ieee80211_frame *wh; in urtwn_ccmp_decap() 1132 wh = mtod(m, struct ieee80211_frame *); in urtwn_ccmp_decap() 1169 struct ieee80211_frame *wh; in urtwn_rx_frame() 1223 wh = (struct ieee80211_frame *)((uint8_t *)&rxd[1] + infosz); in urtwn_rx_frame() 1451 struct ieee80211_frame *wh, struct ieee80211_key *k, in urtwn_tx_fill_desc() 1554 struct ieee80211_frame *wh, struct ieee80211_key *k, in urtwn_tx_fill_desc_gen2() 1639 struct ieee80211_frame *wh; in urtwn_tx() 1648 wh = mtod(m, struct ieee80211_frame *); in urtwn_tx() 1655 wh = mtod(m, struct ieee80211_frame *); in urtwn_tx()
|
/openbsd/lib/libpcap/ |
H A D | gencode.c | 3234 offset = (u_int)offsetof(struct ieee80211_frame, i_fc[0]); in gen_p80211_type() 3401 offset = (u_int)offsetof(struct ieee80211_frame, i_fc[1]); in gen_p80211_fcdir() 3423 (u_int)offsetof(struct ieee80211_frame, i_addr2), in gen_p80211_hostop() 3426 (u_int)offsetof(struct ieee80211_frame, i_addr2), in gen_p80211_hostop() 3429 (u_int)offsetof(struct ieee80211_frame, i_addr3), in gen_p80211_hostop() 3446 (u_int)offsetof(struct ieee80211_frame, i_addr1), in gen_p80211_hostop() 3449 (u_int)offsetof(struct ieee80211_frame, i_addr3), in gen_p80211_hostop() 3452 (u_int)offsetof(struct ieee80211_frame, i_addr1), in gen_p80211_hostop() 3469 (u_int)offsetof(struct ieee80211_frame, in gen_p80211_hostop() 3474 (u_int)offsetof(struct ieee80211_frame, in gen_p80211_hostop() [all …]
|