Home
last modified time | relevance | path

Searched refs:i_addr2 (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/tools/tools/net80211/w00t/ap/
H A Dap.c226 mac2str(macs, wh->i_addr2); in read_preq()
230 send_pres(p, wh->i_addr2); in read_preq()
275 mac2str(mac, wh->i_addr2); in read_auth()
277 send_auth(p, wh->i_addr2); in read_auth()
343 mac2str(macs, wh->i_addr2); in read_assoc()
347 send_assoc(p, wh->i_addr2); in read_assoc()
401 send_cts(p, wh->i_addr2); in read_rts()
478 memcpy(wh->i_addr2, p->mac, sizeof(wh->i_addr2)); in relay_data()
487 memcpy(wh->i_addr2, wh->i_addr3, sizeof(wh->i_addr2)); in relay_data()
528 memcpy(ptr, wh->i_addr2, 6); in read_real_data()
[all …]
/freebsd-14.2/sys/net80211/
H A Dieee80211_adhoc.c417 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_input()
439 ni = ieee80211_fakeup_adhoc_node(vap, wh->i_addr2); in adhoc_input()
448 IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_input()
655 ether_sprintf(wh->i_addr2), rssi); in adhoc_input()
728 wh->i_addr2, ":", in adhoc_recv_mgmt()
778 if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_recv_mgmt()
896 if (IEEE80211_IS_MULTICAST(wh->i_addr2)) { in adhoc_recv_mgmt()
941 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_INPUT, wh->i_addr2, in adhoc_recv_mgmt()
949 ieee80211_send_proberesp(vap, wh->i_addr2, in adhoc_recv_mgmt()
962 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_recv_mgmt()
H A Dieee80211_hostap.c625 ieee80211_send_error(ni, wh->i_addr2, in hostap_input()
840 if (IEEE80211_IS_MULTICAST(wh->i_addr2)) { in hostap_input()
844 ether_sprintf(wh->i_addr2)); in hostap_input()
853 ether_sprintf(wh->i_addr2), rssi); in hostap_input()
942 ieee80211_send_error(ni, wh->i_addr2, in hostap_auth_open()
953 ni = ieee80211_dup_bss(vap, wh->i_addr2); in hostap_auth_open()
1083 ni = ieee80211_dup_bss(vap, wh->i_addr2); in hostap_auth_shared()
1181 ieee80211_send_error(ni, wh->i_addr2, in hostap_auth_shared()
1980 ieee80211_send_error(ni, wh->i_addr2, in hostap_recv_mgmt()
1990 ieee80211_send_error(ni, wh->i_addr2, in hostap_recv_mgmt()
[all …]
H A Dieee80211_crypto_tkip.c196 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_encap()
313 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decap()
322 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decap()
847 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); in michael_mic_hdr()
851 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); in michael_mic_hdr()
1009 tkip_mixing_phase1(ctx->tx_ttak, key->wk_key, wh->i_addr2, in tkip_encrypt()
1044 wh->i_addr2, iv32); in tkip_decrypt()
1058 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decrypt()
H A Dieee80211_input.c233 IEEE80211_ADDR_EQ(wh->i_addr2, lwh->i_addr2) && in ieee80211_defrag()
349 IEEE80211_ADDR_COPY(eh->ether_shost, wh.i_addr2); in ieee80211_decap()
353 IEEE80211_ADDR_COPY(eh->ether_shost, wh.i_addr2); in ieee80211_decap()
889 IEEE80211_IS_MULTICAST(wh->i_addr2)) in ieee80211_parse_action()
934 return wh->i_addr2; in ieee80211_getbssid()
H A Dieee80211_sta.c621 bssid = wh->i_addr2; in sta_input()
929 ether_sprintf(wh->i_addr2), rssi); in sta_input()
1464 IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_bssid))) { in sta_recv_mgmt()
1473 wh->i_addr2, in sta_recv_mgmt()
1488 wh->i_addr2, in sta_recv_mgmt()
1720 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_AUTH, wh->i_addr2, in sta_recv_mgmt()
1729 ieee80211_send_error(ni, wh->i_addr2, in sta_recv_mgmt()
1778 wh->i_addr2, "%sassoc failed (reason %d)", in sta_recv_mgmt()
1841 wh->i_addr2, in sta_recv_mgmt()
1936 IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, wh->i_addr2, in sta_recv_mgmt()
H A Dieee80211_crypto_wep.c261 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in wep_decap()
398 struct ieee80211_frame *)->i_addr2), in wep_encrypt()
482 mtod(m0, struct ieee80211_frame *)->i_addr2, in wep_decrypt()
H A Dieee80211.h69 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
80 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
96 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
106 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
580 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
H A Dieee80211_acl.c165 return _find_acl(as, wh->i_addr2) != NULL; in acl_check()
167 return _find_acl(as, wh->i_addr2) == NULL; in acl_check()
H A Dieee80211_output.c906 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
913 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
919 IEEE80211_ADDR_COPY(wh->i_addr2, bssid); in ieee80211_send_setup()
935 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_send_setup()
940 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_send_setup()
953 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
1703 IEEE80211_ADDR_COPY(wh->i_addr2, vap->iv_myaddr); in ieee80211_encap()
1710 IEEE80211_ADDR_COPY(wh->i_addr2, eh.ether_shost); in ieee80211_encap()
1727 IEEE80211_ADDR_COPY(wh->i_addr2, ni->ni_bssid); in ieee80211_encap()
1742 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_encap()
[all …]
H A Dieee80211_crypto_none.c133 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in none_decap()
H A Dieee80211_crypto_ccmp.c257 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ccmp_decap()
357 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2); in ccmp_init_blocks()
669 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ccmp_decrypt()
H A Dieee80211_freebsd.c844 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_notify_replay_failure()
857 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2); in ieee80211_notify_replay_failure()
877 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_notify_michael_failure()
885 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2); in ieee80211_notify_michael_failure()
H A Dieee80211_hwmp.c1030 IEEE80211_ADDR_COPY(rtorig->rt_nexthop, wh->i_addr2); in hwmp_recv_preq()
1101 hwmp_send_prep(vap, wh->i_addr2, &prep); in hwmp_recv_preq()
1432 IEEE80211_ADDR_COPY(rtext->rt_nexthop, wh->i_addr2); in hwmp_recv_prep()
1549 "received PERR from %6D", wh->i_addr2, ":"); in hwmp_recv_perr()
1569 if (!IEEE80211_ADDR_EQ(rt->rt_nexthop, wh->i_addr2)) in hwmp_recv_perr()
1625 "propagate PERR from %6D", wh->i_addr2, ":"); in hwmp_recv_perr()
1813 hwmp_send_preq(vap, wh->i_addr2, &preq, &hr->hr_lastrootconf, in hwmp_recv_rann()
H A Dieee80211_input.h66 wh->i_addr2, _ssid); \
H A Dieee80211_mesh.c1201 IEEE80211_ADDR_COPY(whcopy->i_addr2, vap->iv_myaddr); in mesh_forward()
1395 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_MESH, qwh->i_addr2, in mesh_recv_indiv_data_to_fwrd()
1482 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, qwh->i_addr2, in mesh_recv_indiv_data_to_me()
1797 ether_sprintf(wh->i_addr2), rssi); in mesh_input()
1928 if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in mesh_recv_mgmt()
1966 rt = ieee80211_mesh_rt_find(vap, wh->i_addr2); in mesh_recv_mgmt()
1991 if (IEEE80211_IS_MULTICAST(wh->i_addr2)) { in mesh_recv_mgmt()
2037 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_INPUT, wh->i_addr2, in mesh_recv_mgmt()
2045 ieee80211_send_proberesp(vap, wh->i_addr2, 0); in mesh_recv_mgmt()
H A Dieee80211_proto.c562 printf("NODS %s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
567 printf("TODS %s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
574 printf("(%s)", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
579 printf("(%s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
H A Dieee80211_crypto.c674 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_crypto_decap()
/freebsd-14.2/tools/tools/net80211/w00t/assoc/
H A Dassoc.c91 memcpy(wh->i_addr2, p->mac, 6); in fill_basic()
241 return memcmp(wh->i_addr2, mac, 6) == 0; in from_ap()
252 send_ack(p->tx, wh->i_addr2); in ack()
269 if (memcmp(wh->i_addr2, p->mac, 6) == 0) { in generic_process()
324 int rc = send_ack(p->tx, wh->i_addr2); in generic_process()
341 if (memcmp(wh->i_addr2, p->ap, 6) != 0) in generic_process()
363 memcpy(src, wh->i_addr2, 6); in generic_process()
471 mac2str(from, wh->i_addr2); in get_probe_response()
479 memcpy(p->ap, wh->i_addr2, 6); in get_probe_response()
/freebsd-14.2/tools/tools/net80211/w00t/expand/
H A Dexpand.c90 sa = wh->i_addr2; in wanted()
93 bssid = wh->i_addr2; in wanted()
203 memcpy(wh->i_addr2, p->mac, 6); in send_mcast()
347 (memcmp(wh->i_addr2, p->ap, 6) == 0) && in read_wifi()
/freebsd-14.2/tools/tools/net80211/w00t/redir/
H A Dredir.c131 sa = wh->i_addr2; in wanted()
134 bssid = wh->i_addr2; in wanted()
275 memcpy(wh->i_addr2, p->mac, 6); in send_header()
351 memcpy(wh->i_addr2, p->mac, 6); in send_data()
518 memcpy(&mac[6], q->wh->i_addr2, 6); in read_buddy_data()
/freebsd-14.2/tools/tools/net80211/w00t/prga/
H A Dprga.c186 bssid = wh->i_addr2; in get_prga()
291 memcpy(wh->i_addr2, p->mac, 6); in send_frag()
447 if (memcmp(wh->i_addr2, p->ap, 6) != 0) in wait_relay()
534 memcpy(wh->i_addr2, p->mac, 6); in read_tap()
/freebsd-14.2/tools/tools/net80211/wlaninject/
H A Dwlaninject.c458 if (memcmp(sent->i_addr2, got->i_addr2, 6) == 0 && in possible_match()
617 str2mac(wh->i_addr2, optarg); in main()
/freebsd-14.2/tools/tools/net80211/stumbler/
H A Dstumbler.c696 if (wh->i_addr2[0] != 0) { in get_packet_info()
697 mvprintw(30,30,"%s %x",mac2str(wh->i_addr2), wh->i_fc[0]); in get_packet_info()
736 memcpy(node->mac, wh->i_addr2, 6); in get_packet_info()
/freebsd-14.2/tools/tools/net80211/wesside/wesside/
H A Dwesside.c588 memcpy(wh->i_addr2, mymac, 6); in fill_basic()
1097 mac2str(wh->i_addr2), dlen, stype); in stuff_for_us()
1149 type, stype, mac2str(wh->i_addr2), len); in stuff_for_us()
1304 smac = wh->i_addr2; in try_dictionary()
1350 return wh->i_addr2; in get_sa()
1448 memcmp(wh->i_addr2, mymac, 6) != 0) ) { in got_wep()
1647 (memcmp(victim.bss, wh->i_addr2, 6) == 0)) in anal()
2259 memcpy(wh->i_addr2, eh->ether_shost, 6); in read_tap()

12