/src/sys/net80211/ |
ieee80211_crypto_none.c | 104 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local in function:none_encap 113 ether_sprintf(wh->i_addr1), keyid>>6); 123 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local in function:none_decap 124 const u_int8_t *ivp = (const u_int8_t *)&wh[1]; 134 ether_sprintf(wh->i_addr2), ivp[IEEE80211_WEP_IVLEN] >> 6);
|
ieee80211_crypto.c | 543 struct ieee80211_frame *wh; local in function:ieee80211_crypto_encap 554 wh = mtod(m, struct ieee80211_frame *); 555 if (IEEE80211_IS_MULTICAST(wh->i_addr1) || 560 ether_sprintf(wh->i_addr1), __func__, 607 struct ieee80211_frame *wh; local in function:ieee80211_crypto_decap 631 wh = mtod(m, struct ieee80211_frame *); 633 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
|
ieee80211_crypto_ccmp.c | 204 struct ieee80211_frame *wh; local in function:ccmp_decap 212 wh = mtod(m, struct ieee80211_frame *); 220 ether_sprintf(wh->i_addr2)); 229 ieee80211_notify_replay_failure(ctx->cc_ic, wh, k, pn); 284 ccmp_init_blocks(struct aesenc *ctx, struct ieee80211_frame *wh, 292 #define IS_4ADDRESS(wh) \ 293 ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) 294 #define IS_QOS_DATA(wh) ieee80211_has_qos(wh) 297 IEEE80211_ADDR_COPY(nonce + 1, wh->i_addr2) 360 struct ieee80211_frame *wh; local in function:ccmp_encrypt 384 struct ieee80211_frame *wh; local in function:ccmp_decrypt [all...] |
ieee80211_crypto_wep.c | 209 struct ieee80211_frame *wh; local in function:wep_decap 211 wh = mtod(m, struct ieee80211_frame *); 222 ether_sprintf(wh->i_addr2));
|
ieee80211_proto.c | 287 const struct ieee80211_frame *wh; local in function:ieee80211_dump_pkt 290 wh = (const struct ieee80211_frame *)buf; 291 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { 293 printf("NODS %s", ether_sprintf(wh->i_addr2)); 294 printf("->%s", ether_sprintf(wh->i_addr1)); 295 printf("(%s)", ether_sprintf(wh->i_addr3)); 298 printf("TODS %s", ether_sprintf(wh->i_addr2)); 299 printf("->%s", ether_sprintf(wh->i_addr3)); 300 printf("(%s)", ether_sprintf(wh->i_addr1)); 303 printf("FRDS %s", ether_sprintf(wh->i_addr3)) [all...] |
ieee80211_proto.h | 108 const struct ieee80211_frame *wh = data; local in function:ieee80211_hdrsize 112 IASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL, 114 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) 116 if (ieee80211_has_qos(wh)) 127 const struct ieee80211_frame *wh = data; local in function:ieee80211_anyhdrsize 129 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) { 130 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) {
|
ieee80211_crypto_tkip.c | 171 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local in function:tkip_encap 176 ether_sprintf(wh->i_addr2), __func__); 215 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local in function:tkip_enmic 222 hdrlen = ieee80211_hdrspace(ic, wh); 249 struct ieee80211_frame *wh; local in function:tkip_decap 256 wh = mtod(m, struct ieee80211_frame *); 264 ether_sprintf(wh->i_addr2)); 274 ether_sprintf(wh->i_addr2), __func__); 284 ieee80211_notify_replay_failure(ctx->tc_ic, wh, k, ctx->rx_rsc); 325 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *) local in function:tkip_demic 759 const struct ieee80211_frame_addr4 *wh = local in function:michael_mic_hdr 878 struct ieee80211_frame *wh; local in function:tkip_encrypt 912 struct ieee80211_frame *wh; local in function:tkip_decrypt [all...] |
ieee80211_input.c | 162 struct ieee80211_frame *wh; local in function:ieee80211_input_data 168 wh = mtod(m, struct ieee80211_frame *); 169 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; 170 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; 172 hdrspace = ieee80211_hdrspace(ic, wh); 179 wh = mtod(m, struct ieee80211_frame *); 185 wh, "data", "unknown dir 0x%x", dir); 190 IEEE80211_IS_MULTICAST(wh->i_addr1) && 191 IEEE80211_ADDR_EQ(wh->i_addr3, ic->ic_myaddr)) { 199 wh, NULL, "%s", "multicast echo") 390 struct ieee80211_frame *wh; local in function:ieee80211_input_management 481 struct ieee80211_frame *wh; local in function:ieee80211_input_control 515 struct ieee80211_frame *wh; local in function:ieee80211_input 762 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local in function:ieee80211_defrag 936 struct ieee80211_qosframe_addr4 wh; \/* Max size address frames *\/ local in function:ieee80211_decap 2063 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_beacon 2342 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_probe_req 2451 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_auth 2530 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_assoc_req 2773 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_assoc_resp 2914 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_deauth 2969 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt_disassoc 3032 struct ieee80211_frame *wh; local in function:ieee80211_recv_mgmt 3152 struct ieee80211_frame_min *wh; local in function:ieee80211_recv_pspoll [all...] |
ieee80211_output.c | 107 struct ieee80211_frame *wh, 113 #define WH4(wh) ((struct ieee80211_frame_addr4 *)wh) 115 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | type; 120 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS; 121 IEEE80211_ADDR_COPY(wh->i_addr1, bssid); 122 IEEE80211_ADDR_COPY(wh->i_addr2, sa); 123 IEEE80211_ADDR_COPY(wh->i_addr3, da); 128 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; 129 IEEE80211_ADDR_COPY(wh->i_addr1, da) 171 struct ieee80211_frame *wh; local in function:ieee80211_mgmt_output 243 struct ieee80211_frame *wh; local in function:ieee80211_send_nulldata 535 struct ieee80211_frame *wh; local in function:ieee80211_encap 916 struct ieee80211_frame *wh, *whf; local in function:ieee80211_fragment 1332 struct ieee80211_frame *wh; local in function:ieee80211_send_probereq 1834 struct ieee80211_frame *wh; local in function:ieee80211_beacon_alloc [all...] |
/src/sys/dev/isa/ |
weasel_isa.c | 76 weasel_isa_init(struct weasel_handle *wh) 87 bus_space_write_1(wh->wh_st, wh->wh_sh, WEASEL_MISC_COMMAND, OS_NOP); 90 sum = bus_space_read_1(wh->wh_st, wh->wh_sh, 108 bus_space_write_1(wh->wh_st, wh->wh_sh, WEASEL_MISC_COMMAND, 117 bus_space_read_region_1(wh->wh_st, wh->wh_sh, 135 "0x%02x != 0x%02x\n", device_xname(wh->wh_parent) 222 struct weasel_handle *wh = smw->smw_cookie; local in function:weasel_isa_wdog_setmode 244 struct weasel_handle *wh = smw->smw_cookie; local in function:weasel_isa_wdog_tickle [all...] |
/src/sys/dev/ic/ |
an.c | 722 struct ieee80211_frame *wh; local in function:an_start 767 wh = mtod(m, struct ieee80211_frame *); 769 wh->i_fc[1] |= IEEE80211_FC1_WEP; 1376 struct ieee80211_frame_min *wh; local in function:an_rx_intr 1511 wh = mtod(m, struct ieee80211_frame_min *); 1512 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1517 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; 1525 ni = ieee80211_find_rxnode(ic, wh);
|
awi.c | 628 struct ieee80211_frame *wh; local in function:awi_start 691 wh = mtod(m0, struct ieee80211_frame *); 692 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) && 697 (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == 1035 struct ieee80211_frame_min *wh; local in function:awi_rx_int 1080 m = m_pullup(m, sizeof(*wh)); 1085 wh = mtod(m, struct ieee80211_frame_min *); 1086 ni = ieee80211_find_rxnode(ic, wh); 1976 struct ieee80211_frame *wh; local in function:awi_ether_encap 1987 wh = mtod(m, struct ieee80211_frame *) 2016 struct ieee80211_frame wh; local in function:awi_ether_modcap [all...] |
rt2661.c | 1023 struct ieee80211_frame *wh; local in function:rt2661_rx_intr 1135 wh = mtod(m, struct ieee80211_frame *); 1137 (struct ieee80211_frame_min *)wh); 1495 struct ieee80211_frame *wh; local in function:rt2661_tx_mgt 1506 wh = mtod(m0, struct ieee80211_frame *); 1508 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1515 wh = mtod(m0, struct ieee80211_frame *); 1541 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { 1546 *(uint16_t *)wh->i_dur = htole16(dur); 1549 if ((wh->i_fc[0] 1615 struct ieee80211_frame *wh; local in function:rt2661_tx_data [all...] |
rt2560.c | 1236 struct ieee80211_frame *wh; local in function:rt2560_decryption_intr 1349 wh = mtod(m, struct ieee80211_frame *); 1351 (struct ieee80211_frame_min *)wh); 1761 struct ieee80211_frame *wh; local in function:rt2560_tx_mgt 1772 wh = mtod(m0, struct ieee80211_frame *); 1774 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1782 wh = mtod(m0, struct ieee80211_frame *); 1809 wh = mtod(m0, struct ieee80211_frame *); 1811 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { 1816 *(uint16_t *)wh->i_dur = htole16(dur) 1885 struct ieee80211_frame *wh; local in function:rt2560_tx_data [all...] |
atw.c | 3076 atw_hw_decrypted(struct atw_softc *sc, struct ieee80211_frame_min *wh) 3080 if ((wh->i_fc[1] & IEEE80211_FC1_WEP) == 0) 3097 struct ieee80211_frame_min *wh; local in function:atw_rxintr 3253 wh = mtod(m, struct ieee80211_frame_min *); 3254 ni = ieee80211_find_rxnode(ic, wh); 3256 if (atw_hw_decrypted(sc, wh)) { 3257 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; 3510 struct ieee80211_frame *wh; local in function:atw_start 3587 if (IEEE80211_IS_MULTICAST(wh->i_addr1) && 3641 wh = &hh->atw_ihdr [all...] |
rt2860.c | 1323 struct ieee80211_frame *wh; local in function:rt2860_rx_intr 1410 wh = mtod(m, struct ieee80211_frame *); 1412 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) { 1414 wh->i_fc[1] &= ~IEEE80211_FC1_PROTECTED; 1420 u_int hdrlen = ieee80211_hdrsize(wh); 1421 memmove((char *)wh + 2, wh, hdrlen); 1423 wh = mtod(m, struct ieee80211_frame *); 1429 ieee80211_notify_michael_failure(ic, wh, 0/* XXX */); 1480 (struct ieee80211_frame_min *)wh); 1632 struct ieee80211_frame *wh; local in function:rt2860_tx [all...] |
/src/usr.sbin/dumpfs/ |
dumpfs.c | 85 struct wapbl_wc_header wh; member in union:__anon19dc494e020a 89 #define awh jbuf.wh
|
/src/sys/dev/pci/ |
if_ipw.c | 973 struct ieee80211_frame *wh; local in function:ipw_fix_channel 977 wh = mtod(m, struct ieee80211_frame *); 979 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_MGT) 982 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; 988 frm = (uint8_t *)(wh + 1); 1011 struct ieee80211_frame *wh; local in function:ipw_data_intr 1092 wh = mtod(m, struct ieee80211_frame *); 1093 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); 1351 struct ieee80211_frame *wh; local in function:ipw_tx_start 1359 wh = mtod(m0, struct ieee80211_frame *) [all...] |
if_iwi.c | 1087 struct ieee80211_frame *wh; local in function:iwi_fix_channel 1091 wh = mtod(m, struct ieee80211_frame *); 1093 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_MGT) 1096 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; 1102 frm = (uint8_t *)(wh + 1); 1148 struct ieee80211_frame *wh; local in function:iwi_frame_intr 1228 wh = mtod(m, struct ieee80211_frame *); 1229 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); 1603 struct ieee80211_frame *wh; local in function:iwi_tx_start 1612 wh = mtod(m0, struct ieee80211_frame *) [all...] |
/src/sys/dev/usb/ |
if_atu.c | 1625 struct ieee80211_frame_min *wh; local in function:atu_rxeof 1694 wh = mtod(m, struct ieee80211_frame_min *); 1695 ni = ieee80211_find_rxnode(ic, wh); 1706 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1711 wh->i_fc[1] &= ~IEEE80211_FC1_WEP;
|
if_upgt.c | 1581 struct ieee80211_frame *wh; local in function:upgt_tx_task 1609 wh = mtod(m, struct ieee80211_frame *); 1611 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1623 wh = mtod(m, struct ieee80211_frame *); 1645 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == 1851 struct ieee80211_frame *wh; local in function:upgt_rx 1885 wh = mtod(m, struct ieee80211_frame *); 1886 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
|
if_athn_usb.c | 1955 struct ieee80211_frame *wh; local in function:athn_usb_swba 1987 wh = mtod(m, struct ieee80211_frame *); 1988 *(uint16_t *)&wh->i_seq[0] = 2229 struct ieee80211_frame *wh; local in function:athn_usb_rx_frame 2272 wh = mtod(m, struct ieee80211_frame *); 2273 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); 2276 if (!(wh->i_fc[0] & IEEE80211_FC0_TYPE_CTL)) { 2277 u_int hdrlen = ieee80211_anyhdrsize(wh); 2279 memmove((uint8_t *)wh + 2, wh, hdrlen) 2460 struct ieee80211_frame *wh; local in function:athn_usb_tx [all...] |
if_rum.c | 810 struct ieee80211_frame *wh; local in function:rum_rxeof 887 wh = mtod(m, struct ieee80211_frame *); 888 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); 1076 struct ieee80211_frame *wh; local in function:rum_tx_data 1083 wh = mtod(m0, struct ieee80211_frame *); 1085 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1093 wh = mtod(m0, struct ieee80211_frame *); 1100 if (IEEE80211_IS_MULTICAST(wh->i_addr1) || 1101 ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == 1114 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) [all...] |
if_ural.c | 902 struct ieee80211_frame *wh; local in function:ural_rxeof 976 wh = mtod(m, struct ieee80211_frame *); 977 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); 1180 struct ieee80211_frame *wh; local in function:ural_tx_mgt 1192 wh = mtod(m0, struct ieee80211_frame *); 1194 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { 1205 wh = mtod(m0, struct ieee80211_frame *); 1207 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { 1211 *(uint16_t *)wh->i_dur = htole16(dur); 1214 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) = 1269 struct ieee80211_frame *wh; local in function:ural_tx_data [all...] |
/src/sys/arch/luna68k/dev/ |
omrasops.c | 654 int wh; local in function:om_rascopy_single 682 wh = (width >> 6); 683 if (wh > 0) { 684 int step8 = step - wh * 8; 687 wh--; /* for dbra */ 691 " move.w %[wh],%[w] ;\n" 706 [wh] "r" (wh), 712 wh--; /* to match to asm side */ 716 for (w = wh; w >= 0; w--) 831 int wh; local in function:om4_rascopy_multi [all...] |