/hostap-3.6.0/wlantest/ |
D | rx_data.c | 231 wt->frame_num, MAC2STR(hdr->addr2), in check_plaintext_prot() 249 bss = bss_get(wt, hdr->addr2); in rx_data_bss_prot_group() 298 MAC2STR(hdr->addr2), keyid); in rx_data_bss_prot_group() 317 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in rx_data_bss_prot_group() 367 wt->frame_num, MAC2STR(hdr->addr2), in rx_data_bss_prot_group() 426 sta = sta_find(bss, hdr->addr2); in rx_data_bss_prot() 432 bss2 = bss_find(wt, hdr->addr2); in rx_data_bss_prot() 442 bss = bss_find(wt, hdr->addr2); in rx_data_bss_prot() 451 sta = sta_get(bss, hdr->addr2); in rx_data_bss_prot() 455 bss = bss_get(wt, hdr->addr2); in rx_data_bss_prot() [all …]
|
D | process.c | 38 if (os_memcmp(bssid, hdr->addr2, ETH_ALEN) == 0) { in rx_get_sta() 44 sta_addr = hdr->addr2; in rx_get_sta() 56 bssid = hdr->addr2; in rx_get_sta() 60 sta_addr = hdr->addr2; in rx_get_sta() 73 sta_addr = hdr->addr2; in rx_get_sta() 170 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2)); in rx_duplicate() 187 os_memcmp(hdr->addr1, last->addr2, ETH_ALEN) != 0) { in rx_ack()
|
D | tkip.c | 264 os_memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr() 277 os_memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr() 321 tkip_mixing_phase1(ttak, tk, hdr->addr2, iv32); in tkip_decrypt() 336 MAC2STR(hdr->addr2)); in tkip_decrypt() 358 os_memcpy(frag->ta, hdr->addr2, ETH_ALEN); in tkip_decrypt() 366 os_memcmp(frag->ta, hdr->addr2, ETH_ALEN) == 0) { in tkip_decrypt() 396 "in a frame from " MACSTR, MAC2STR(hdr->addr2)); in tkip_decrypt() 407 "from " MACSTR, MAC2STR(hdr->addr2)); in tkip_decrypt() 464 tkip_mixing_phase1(ttak, tk, hdr->addr2, iv32); in tkip_encrypt()
|
D | inject.c | 189 sta = sta_find(bss, hdr->addr2); in wlantest_inject_prot() 236 if (os_memcmp(hdr->addr2, tdls->init->addr, ETH_ALEN) == 0) in wlantest_inject_prot() 240 } else if (os_memcmp(hdr->addr2, bss->bssid, ETH_ALEN) == 0) in wlantest_inject_prot()
|
D | gcmp.c | 65 os_memcpy(nonce, hdr->addr2, ETH_ALEN); in gcmp_aad_nonce() 102 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in gcmp_decrypt()
|
D | ccmp.c | 70 os_memcpy(nonce + 1, hdr->addr2, ETH_ALEN); in ccmp_aad_nonce() 165 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in ccmp_decrypt() 307 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in ccmp_256_decrypt()
|
D | bip.c | 110 os_memcpy(nonce, hdr->addr2, ETH_ALEN); in bip_gmac_protect()
|
D | ctrl.c | 1151 if (os_memcmp(hdr->addr2, hdr->addr3, ETH_ALEN) == 0) in ctrl_send_() 1154 sta_addr = hdr->addr2; in ctrl_send_() 1160 sta_addr = hdr->addr2; in ctrl_send_() 1164 sta_addr = hdr->addr2; in ctrl_send_() 1167 bssid = hdr->addr2; in ctrl_send_()
|
D | rx_mgmt.c | 2150 os_memcpy(nonce, hdr->addr2, ETH_ALEN); in check_mmie_mic() 2340 MAC2STR(hdr->addr2)); in mgmt_ccmp_decrypt() 2350 "non-zero reserved bit", MAC2STR(hdr->addr2)); in mgmt_ccmp_decrypt() 2357 MACSTR, keyid, MAC2STR(hdr->addr2)); in mgmt_ccmp_decrypt() 2364 sta = sta_get(bss, hdr->addr2); in mgmt_ccmp_decrypt() 2385 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in mgmt_ccmp_decrypt() 2493 MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in rx_mgmt() 2631 stype, MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), in rx_mgmt_ack()
|
/hostap-3.6.0/tests/hwsim/ |
D | test_ap_track.py | 51 addr2 = dev[2].own_addr() 56 if addr2 in track: 60 if addr0 not in track or addr2 not in track: 71 if addr0 in track or addr2 in track: 81 if addr1 not in track or addr2 not in track: 375 addr2 = dev[2].own_addr() 376 res = hapd.request("SIGNATURE " + addr2) 388 res = hapd.request("SIGNATURE " + addr2) 394 res = hapd.request("SIGNATURE " + addr2) 400 res = hapd.request("SIGNATURE " + addr2)
|
D | test_sta_dynamic.py | 244 addr2 = wpas.get_driver_status_field("addr") 245 if addr1 != addr2: 251 addr2 = wpas.get_driver_status_field("addr") 252 if addr1 == addr2: 284 addr2 = wpas.get_driver_status_field("addr") 285 if addr1 != addr2: 291 addr2 = wpas.get_driver_status_field("addr") 292 if addr1 == addr2: 294 if addr2[3:8] != addr0[3:8]:
|
D | hwsim_utils.py | 42 addr2 = dev2.get_addr(dev2group) 66 if "DATA-TEST-RX {} {}".format(addr2, addr1) not in ev: 87 addr2 = dev2.get_addr(dev2group) 101 cmd = "DATA_TEST_TX {} {} {}".format(addr2, addr1, tos) 114 if "DATA-TEST-RX {} {}".format(addr2, addr1) not in ev: 129 cmd = "DATA_TEST_TX {} {} {}".format(addr1, addr2, tos) 142 if "DATA-TEST-RX {} {}".format(addr1, addr2) not in ev:
|
D | test_p2p_invitation.py | 146 addr2 = dev[2].p2p_dev_addr() 154 if not dev[1].discover_peer(addr2, social=True): 155 raise Exception("Peer " + addr2 + " not found") 157 …if "OK" not in dev[1].global_request("P2P_INVITE group=" + dev[1].group_ifname + " peer=" + addr2):
|
D | test_p2p_autogo.py | 25 addr2 = dev[2].p2p_dev_addr() 75 if "p2p_dev_addr=" + addr2 not in ev: 277 addr2 = dev[2].p2p_interface_addr() 278 dev[1].tdls_setup(addr2) 281 conf = wt.get_tdls_counter("setup_conf_ok", bssid, addr1, addr2) 284 dl = wt.get_tdls_counter("valid_direct_link", bssid, addr1, addr2) 287 wt.tdls_clear(bssid, addr1, addr2) 288 dev[1].tdls_teardown(addr2) 290 teardown = wt.get_tdls_counter("teardown", bssid, addr1, addr2) 293 wt.tdls_clear(bssid, addr1, addr2) [all …]
|
D | test_p2p_persistent.py | 81 addr2 = dev[2].p2p_dev_addr() 163 dev[0].global_request("P2P_REMOVE_CLIENT " + addr2) 312 addr2 = dev[2].p2p_dev_addr() 329 if clients != addr2 + " " + addr1: 340 if clients != addr1 + " " + addr2: 348 if clients != addr1 + " " + addr2: 359 dev[0].discover_peer(addr2, social=True) 360 peer = dev[0].get_peer(addr2)
|
D | test_p2p_discovery.py | 369 addr2 = dev[2].p2p_dev_addr() 378 if not dev[0].discover_peer(addr2): 402 dev[0].global_request("P2P_PROV_DISC " + addr2 + " display auto") 416 if addr2 not in ev0: 485 addr2 = dev[2].p2p_dev_addr() 490 if not dev[0].discover_peer(addr2): 498 if peer not in [addr1, addr2]: 502 if peer2 not in [addr1, addr2] or peer == peer2: 516 addr2 = dev[2].p2p_dev_addr()
|
D | wlantest.py | 172 def tdls_clear(self, bssid, addr1, addr2): argument 173 self.cli_cmd(["clear_tdls_counters", bssid, addr1, addr2]) 175 def get_tdls_counter(self, field, bssid, addr1, addr2): argument 176 res = self.cli_cmd(["get_tdls_counter", field, bssid, addr1, addr2])
|
D | test_wpas_mesh.py | 611 addr2 = dev[2].p2p_interface_addr() 902 addr2 = dev[2].own_addr() 920 elif addr == addr2: 940 addrs = [addr0, addr1, addr2] 1409 addr2 = dev[2].own_addr() 1435 dev[2].request("DATA_TEST_TX {} {} 0".format(external_sta, addr2)) 1439 filt = "wlan.sa==%s && wlan_mgt.fixed.mesh_addr5==%s" % (addr2, 1450 filt = "wlan.sa==%s" % addr2 2521 addr2 = dev[2].own_addr() 2533 dev[0].request("MESH_LINK_PROBE " + addr2 + " payload=aabbccdd") [all …]
|
D | test_p2p_grpform.py | 610 addr2 = dev[2].p2p_dev_addr() 615 if not dev[0].discover_peer(addr2): 617 if "OK" not in dev[0].request("P2P_CONNECT " + addr2 + " pbc auth"): 936 addr2 = dev[2].p2p_dev_addr() 954 addr2 = dev[2].p2p_dev_addr() 968 if addr2 not in ev:
|
/hostap-3.6.0/src/drivers/ |
D | driver_wired.c | 173 struct sockaddr_in addr2; in wired_init_sockets() local 245 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets() 246 addr2.sin_family = AF_INET; in wired_init_sockets() 247 addr2.sin_port = htons(67); in wired_init_sockets() 248 addr2.sin_addr.s_addr = INADDR_ANY; in wired_init_sockets() 273 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, in wired_init_sockets()
|
/hostap-3.6.0/src/common/ |
D | sae.h | 123 int sae_prepare_commit(const u8 *addr1, const u8 *addr2, 127 const u8 *addr1, const u8 *addr2, 146 const u8 *addr1, const u8 *addr2); 149 const u8 *addr1, const u8 *addr2);
|
D | sae.c | 131 static void sae_pwd_seed_key(const u8 *addr1, const u8 *addr2, u8 *key) in sae_pwd_seed_key() argument 134 " addr2=" MACSTR, MAC2STR(addr1), MAC2STR(addr2)); in sae_pwd_seed_key() 135 if (os_memcmp(addr1, addr2, ETH_ALEN) > 0) { in sae_pwd_seed_key() 137 os_memcpy(key + ETH_ALEN, addr2, ETH_ALEN); in sae_pwd_seed_key() 139 os_memcpy(key, addr2, ETH_ALEN); in sae_pwd_seed_key() 282 const u8 *addr2, const u8 *password, in sae_derive_pwe_ecc() argument 335 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ecc() 448 const u8 *addr2, const u8 *password, in sae_derive_pwe_ffc() argument 480 sae_pwd_seed_key(addr1, addr2, addrs); in sae_derive_pwe_ffc() 1122 const u8 *addr1, const u8 *addr2) in sae_max_min_addr() argument [all …]
|
D | common_module_tests.c | 261 const u8 addr2[ETH_ALEN] = { 0xa5, 0xd8, 0xaa, 0x95, 0x8e, 0x3c }; in sae_tests() local 396 sae_prepare_commit(addr1, addr2, (const u8 *) pw, os_strlen(pw), in sae_tests()
|
/hostap-3.6.0/src/crypto/ |
D | ms_funcs.c | 250 const unsigned char *addr2[3]; in generate_authenticator_response_pwhash() local 257 addr2[0] = response; in generate_authenticator_response_pwhash() 258 addr2[1] = challenge; in generate_authenticator_response_pwhash() 259 addr2[2] = magic2; in generate_authenticator_response_pwhash() 266 return sha1_vector(3, addr2, len2, response); in generate_authenticator_response_pwhash()
|
/hostap-3.6.0/wpa_supplicant/ |
D | mesh_rsn.c | 426 u8 *addr1, *addr2; in mesh_rsn_derive_aek() local 439 addr2 = peer; in mesh_rsn_derive_aek() 442 addr2 = myaddr; in mesh_rsn_derive_aek() 446 os_memcpy(ptr, addr2, ETH_ALEN); in mesh_rsn_derive_aek()
|