Home
last modified time | relevance | path

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

12

/freebsd-13.1/tools/tools/net80211/w00t/ap/
H A Dap.c228 mac2str(macs, wh->i_addr2); in read_preq()
232 send_pres(p, wh->i_addr2); in read_preq()
277 mac2str(mac, wh->i_addr2); in read_auth()
279 send_auth(p, wh->i_addr2); in read_auth()
345 mac2str(macs, wh->i_addr2); in read_assoc()
349 send_assoc(p, wh->i_addr2); in read_assoc()
403 send_cts(p, wh->i_addr2); in read_rts()
480 memcpy(wh->i_addr2, p->mac, sizeof(wh->i_addr2)); in relay_data()
489 memcpy(wh->i_addr2, wh->i_addr3, sizeof(wh->i_addr2)); in relay_data()
530 memcpy(ptr, wh->i_addr2, 6); in read_real_data()
[all …]
/freebsd-13.1/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.c621 ieee80211_send_error(ni, wh->i_addr2, in hostap_input()
836 if (IEEE80211_IS_MULTICAST(wh->i_addr2)) { in hostap_input()
840 ether_sprintf(wh->i_addr2)); in hostap_input()
849 ether_sprintf(wh->i_addr2), rssi); in hostap_input()
938 ieee80211_send_error(ni, wh->i_addr2, in hostap_auth_open()
949 ni = ieee80211_dup_bss(vap, wh->i_addr2); in hostap_auth_open()
1079 ni = ieee80211_dup_bss(vap, wh->i_addr2); in hostap_auth_shared()
1177 ieee80211_send_error(ni, wh->i_addr2, in hostap_auth_shared()
1976 ieee80211_send_error(ni, wh->i_addr2, in hostap_recv_mgmt()
1986 ieee80211_send_error(ni, wh->i_addr2, in hostap_recv_mgmt()
[all …]
H A Dieee80211_crypto_tkip.c198 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_encap()
315 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decap()
324 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decap()
849 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); in michael_mic_hdr()
853 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2); in michael_mic_hdr()
1011 tkip_mixing_phase1(ctx->tx_ttak, key->wk_key, wh->i_addr2, in tkip_encrypt()
1046 wh->i_addr2, iv32); in tkip_decrypt()
1060 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in tkip_decrypt()
H A Dieee80211_input.c234 IEEE80211_ADDR_EQ(wh->i_addr2, lwh->i_addr2) && in ieee80211_defrag()
347 IEEE80211_ADDR_COPY(eh->ether_shost, wh.i_addr2); in ieee80211_decap()
351 IEEE80211_ADDR_COPY(eh->ether_shost, wh.i_addr2); in ieee80211_decap()
887 IEEE80211_IS_MULTICAST(wh->i_addr2)) in ieee80211_parse_action()
932 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.c263 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in wep_decap()
400 struct ieee80211_frame *)->i_addr2), in wep_encrypt()
484 mtod(m0, struct ieee80211_frame *)->i_addr2, in wep_decrypt()
H A Dieee80211.h71 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
82 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
98 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
108 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
498 uint8_t i_addr2[IEEE80211_ADDR_LEN]; member
H A Dieee80211_acl.c167 return _find_acl(as, wh->i_addr2) != NULL; in acl_check()
169 return _find_acl(as, wh->i_addr2) == NULL; in acl_check()
H A Dieee80211_output.c907 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
914 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
920 IEEE80211_ADDR_COPY(wh->i_addr2, bssid); in ieee80211_send_setup()
936 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_send_setup()
941 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_send_setup()
954 IEEE80211_ADDR_COPY(wh->i_addr2, sa); in ieee80211_send_setup()
1697 IEEE80211_ADDR_COPY(wh->i_addr2, vap->iv_myaddr); in ieee80211_encap()
1704 IEEE80211_ADDR_COPY(wh->i_addr2, eh.ether_shost); in ieee80211_encap()
1721 IEEE80211_ADDR_COPY(wh->i_addr2, ni->ni_bssid); in ieee80211_encap()
1736 IEEE80211_ADDR_COPY(wh->i_addr2, in ieee80211_encap()
[all …]
H A Dieee80211_crypto_none.c135 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in none_decap()
H A Dieee80211_crypto_ccmp.c259 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ccmp_decap()
359 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2); in ccmp_init_blocks()
671 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ccmp_decrypt()
H A Dieee80211_freebsd.c840 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_notify_replay_failure()
853 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2); in ieee80211_notify_replay_failure()
873 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_notify_michael_failure()
881 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2); in ieee80211_notify_michael_failure()
H A Dieee80211_hwmp.c1031 IEEE80211_ADDR_COPY(rtorig->rt_nexthop, wh->i_addr2); in hwmp_recv_preq()
1102 hwmp_send_prep(vap, wh->i_addr2, &prep); in hwmp_recv_preq()
1433 IEEE80211_ADDR_COPY(rtext->rt_nexthop, wh->i_addr2); in hwmp_recv_prep()
1550 "received PERR from %6D", wh->i_addr2, ":"); in hwmp_recv_perr()
1570 if (!IEEE80211_ADDR_EQ(rt->rt_nexthop, wh->i_addr2)) in hwmp_recv_perr()
1626 "propagate PERR from %6D", wh->i_addr2, ":"); in hwmp_recv_perr()
1814 hwmp_send_preq(vap, wh->i_addr2, &preq, &hr->hr_lastrootconf, in hwmp_recv_rann()
H A Dieee80211_input.h68 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.c567 printf("NODS %s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
572 printf("TODS %s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
579 printf("(%s)", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
584 printf("(%s", ether_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
H A Dieee80211_crypto.c670 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, in ieee80211_crypto_decap()
/freebsd-13.1/tools/tools/net80211/w00t/assoc/
H A Dassoc.c93 memcpy(wh->i_addr2, p->mac, 6); in fill_basic()
243 return memcmp(wh->i_addr2, mac, 6) == 0; in from_ap()
254 send_ack(p->tx, wh->i_addr2); in ack()
271 if (memcmp(wh->i_addr2, p->mac, 6) == 0) { in generic_process()
326 int rc = send_ack(p->tx, wh->i_addr2); in generic_process()
343 if (memcmp(wh->i_addr2, p->ap, 6) != 0) in generic_process()
365 memcpy(src, wh->i_addr2, 6); in generic_process()
473 mac2str(from, wh->i_addr2); in get_probe_response()
481 memcpy(p->ap, wh->i_addr2, 6); in get_probe_response()
/freebsd-13.1/tools/tools/net80211/w00t/expand/
H A Dexpand.c92 sa = wh->i_addr2; in wanted()
95 bssid = wh->i_addr2; in wanted()
205 memcpy(wh->i_addr2, p->mac, 6); in send_mcast()
349 (memcmp(wh->i_addr2, p->ap, 6) == 0) && in read_wifi()
/freebsd-13.1/tools/tools/net80211/w00t/redir/
H A Dredir.c133 sa = wh->i_addr2; in wanted()
136 bssid = wh->i_addr2; in wanted()
277 memcpy(wh->i_addr2, p->mac, 6); in send_header()
353 memcpy(wh->i_addr2, p->mac, 6); in send_data()
520 memcpy(&mac[6], q->wh->i_addr2, 6); in read_buddy_data()
/freebsd-13.1/tools/tools/net80211/w00t/prga/
H A Dprga.c188 bssid = wh->i_addr2; in get_prga()
293 memcpy(wh->i_addr2, p->mac, 6); in send_frag()
449 if (memcmp(wh->i_addr2, p->ap, 6) != 0) in wait_relay()
536 memcpy(wh->i_addr2, p->mac, 6); in read_tap()
/freebsd-13.1/tools/tools/net80211/wlaninject/
H A Dwlaninject.c460 if (memcmp(sent->i_addr2, got->i_addr2, 6) == 0 && in possible_match()
619 str2mac(wh->i_addr2, optarg); in main()
/freebsd-13.1/tools/tools/net80211/stumbler/
H A Dstumbler.c698 if (wh->i_addr2[0] != 0) { in get_packet_info()
699 mvprintw(30,30,"%s %x",mac2str(wh->i_addr2), wh->i_fc[0]); in get_packet_info()
738 memcpy(node->mac, wh->i_addr2, 6); in get_packet_info()
/freebsd-13.1/tools/tools/net80211/wesside/wesside/
H A Dwesside.c590 memcpy(wh->i_addr2, mymac, 6); in fill_basic()
1099 mac2str(wh->i_addr2), dlen, stype); in stuff_for_us()
1151 type, stype, mac2str(wh->i_addr2), len); in stuff_for_us()
1306 smac = wh->i_addr2; in try_dictionary()
1352 return wh->i_addr2; in get_sa()
1450 memcmp(wh->i_addr2, mymac, 6) != 0) ) { in got_wep()
1649 (memcmp(victim.bss, wh->i_addr2, 6) == 0)) in anal()
2261 memcpy(wh->i_addr2, eh->ether_shost, 6); in read_tap()

12