/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new.h | 172 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr); 175 const u8 *dev_addr); 177 const u8 *dev_addr); 179 const u8 *dev_addr); 181 const u8 *dev_addr); 185 const u8 *dev_addr, int request, 238 const u8 *sa, const u8 *dev_addr, 363 const u8 *dev_addr) in wpas_dbus_register_peer() argument 369 const u8 *dev_addr) in wpas_dbus_unregister_peer() argument 376 const u8 *dev_addr) in wpas_dbus_signal_peer_groups_changed() argument [all …]
|
D | dbus_new.c | 1013 const u8 *dev_addr, int request, in wpas_dbus_signal_p2p_provision_discovery() argument 1072 if (!p2p_peer_known(wpa_s->global->p2p, dev_addr)) in wpas_dbus_signal_p2p_provision_discovery() 1078 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_p2p_provision_discovery() 1911 const u8 *sa, const u8 *dev_addr, in wpas_dbus_signal_p2p_invitation_received() argument 1936 (dev_addr && in wpas_dbus_signal_p2p_invitation_received() 1938 (const char *) dev_addr, in wpas_dbus_signal_p2p_invitation_received() 3809 const u8 *dev_addr, const char *interface, in wpas_dbus_signal_peer() argument 3828 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_peer() 3855 const u8 *dev_addr) in wpas_dbus_signal_peer_device_found() argument 3857 wpas_dbus_signal_peer(wpa_s, dev_addr, in wpas_dbus_signal_peer_device_found() [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_group.c | 24 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */ member 239 p2p_buf_add_device_id(ie, group->p2p->cfg->dev_addr); in p2p_group_build_beacon_ie() 335 wpabuf_put_data(buf, m->dev_addr, ETH_ALEN); in wifi_display_add_dev_info_descr() 436 p2p_buf_add_group_id(buf, group->p2p->cfg->dev_addr, group->cfg->ssid, in p2p_group_buf_add_id() 522 u8 *dev_capab, u8 *dev_addr) in p2p_build_client_info() argument 542 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_build_client_info() 618 m->dev_addr); in p2p_group_notif_assoc() 786 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id() 790 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id() 845 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_get_client() [all …]
|
D | p2p_build.c | 198 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info() 245 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) in p2p_buf_add_device_id() argument 250 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_device_id() 251 wpa_printf(MSG_DEBUG, "P2P: * Device ID: " MACSTR, MAC2STR(dev_addr)); in p2p_buf_add_device_id() 290 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_group_id() argument 296 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_group_id() 299 MAC2STR(dev_addr)); in p2p_buf_add_group_id() 359 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface() 366 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface() 693 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_persistent_group_info() argument [all …]
|
D | p2p.h | 519 u8 dev_addr[ETH_ALEN]; member 757 void (*dev_lost)(void *ctx, const u8 *dev_addr); 856 const u8 *dev_addr, const u8 *pri_dev_type, 985 int (*go_connected)(void *ctx, const u8 *dev_addr); 1882 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr); 1891 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr); 2023 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr, 2026 u8 *dev_addr); 2150 int p2p_group_is_client_connected(struct p2p_group *group, const u8 *dev_addr);
|
D | p2p_invitation.c | 25 const u8 *dev_addr; in p2p_build_invitation_req() local 79 dev_addr = go_dev_addr; in p2p_build_invitation_req() 81 dev_addr = peer->info.p2p_device_addr; in p2p_build_invitation_req() 83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req() 84 p2p_buf_add_group_id(buf, dev_addr, p2p->inv_ssid, p2p->inv_ssid_len); in p2p_build_invitation_req() 419 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_invitation_req() 420 p2p->cfg->dev_addr, in p2p_process_invitation_req() 592 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_invite_send()
|
D | p2p_dev_disc.c | 96 p2p->cfg->dev_addr, go->info.p2p_device_addr, in p2p_send_dev_disc_req() 151 if (p2p_send_action(p2p, freq, addr, p2p->cfg->dev_addr, in p2p_send_dev_disc_resp() 152 p2p->cfg->dev_addr, in p2p_send_dev_disc_resp()
|
D | p2p_sd.c | 204 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, in p2p_send_gas_comeback_req() 316 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_start_sd() 471 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, in p2p_sd_response() 472 p2p->cfg->dev_addr, in p2p_sd_response() 681 if (p2p_send_action(p2p, rx_freq, sa, p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req() 682 p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
|
D | p2p_pd.c | 68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info() 82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info() 90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info() 721 if (os_memcmp(p2p->cfg->dev_addr, msg.adv_mac, ETH_ALEN)) { in p2p_process_prov_disc_req() 997 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_prov_disc_req() 998 p2p->cfg->dev_addr, in p2p_process_prov_disc_req() 1152 const u8 *dev_addr = sa; in p2p_process_prov_disc_req() local 1155 dev_addr = msg.p2p_device_addr; in p2p_process_prov_disc_req() 1158 dev_addr, msg.pri_dev_type, in p2p_process_prov_disc_req() 1657 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_send_prov_disc_req()
|
D | p2p_go_neg.c | 257 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_connect_send() 340 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_resp() 898 os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) > 0) { in p2p_process_go_neg_req() 1047 if (os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) < 0) { in p2p_process_go_neg_req() 1061 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_go_neg_req() 1062 p2p->cfg->dev_addr, in p2p_process_go_neg_req() 1126 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_conf() 1400 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa, in p2p_process_go_neg_resp()
|
D | p2p_i.h | 750 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr); 764 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, 785 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr,
|
D | p2p.c | 490 if (os_memcmp(cli->p2p_device_addr, p2p->cfg->dev_addr, in p2p_add_group_clients() 2289 os_memcmp(dst, p2p->cfg->dev_addr, ETH_ALEN) != 0) { in p2p_reply_probe() 2373 os_memcmp(msg.device_id, p2p->cfg->dev_addr, ETH_ALEN) != 0) { in p2p_reply_probe() 2423 os_memcpy(resp->sa, p2p->cfg->dev_addr, ETH_ALEN); in p2p_reply_probe() 2424 os_memcpy(resp->bssid, p2p->cfg->dev_addr, ETH_ALEN); in p2p_reply_probe() 2810 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) in p2p_parse_dev_addr_in_p2p_ie() argument 2819 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_parse_dev_addr_in_p2p_ie() 2822 os_memcpy(dev_addr, msg.device_id, ETH_ALEN); in p2p_parse_dev_addr_in_p2p_ie() 2829 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) in p2p_parse_dev_addr() argument 2838 ret = p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr); in p2p_parse_dev_addr() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | notify.c | 573 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument 577 wpas_dbus_register_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_found() 581 wpas_dbus_signal_peer_device_found(wpa_s, dev_addr); in wpas_notify_p2p_device_found() 586 const u8 *dev_addr) in wpas_notify_p2p_device_lost() argument 588 wpas_dbus_unregister_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_lost() 591 wpas_dbus_signal_peer_device_lost(wpa_s, dev_addr); in wpas_notify_p2p_device_lost() 659 const u8 *dev_addr, int request, in wpas_notify_p2p_provision_discovery() argument 664 wpas_dbus_signal_p2p_provision_discovery(wpa_s, dev_addr, request, in wpas_notify_p2p_provision_discovery()
|
D | notify.h | 91 const u8 *dev_addr, int new_device); 93 const u8 *dev_addr); 111 const u8 *dev_addr, int request,
|
D | bss.h | 129 const u8 *dev_addr);
|
D | wps_supplicant.h | 68 int wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *dev_addr,
|
D | p2p_supplicant.c | 135 const u8 *dev_addr, enum p2p_wps_method wps_method, 2379 static void wpas_dev_lost(void *ctx, const u8 *dev_addr) in wpas_dev_lost() argument 2384 "p2p_dev_addr=" MACSTR, MAC2STR(dev_addr)); in wpas_dev_lost() 2386 wpas_notify_p2p_device_lost(wpa_s, dev_addr); in wpas_dev_lost() 2566 const u8 *dev_addr, const u8 *pri_dev_type, in wpas_prov_disc_req() argument 2599 MAC2STR(dev_addr), in wpas_prov_disc_req() 3691 static int wpas_go_connected(void *ctx, const u8 *dev_addr) in wpas_go_connected() argument 3695 return wpas_get_p2p_client_iface(wpa_s, dev_addr) != NULL; in wpas_go_connected() 4333 os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN); in wpas_p2p_init() 4835 u8 dev_addr[ETH_ALEN]; in wpas_p2p_scan_res_join() local [all …]
|
D | wps_supplicant.c | 984 int registrar, const u8 *dev_addr, in wpas_wps_add_network() argument 1006 if (dev_addr) in wpas_wps_add_network() 1007 os_memcpy(ssid->go_p2p_dev_addr, dev_addr, ETH_ALEN); in wpas_wps_add_network() 1173 const u8 *dev_addr, const u8 *bssid, in wpas_wps_start_dev_pw() argument 1193 ssid = wpas_wps_add_network(wpa_s, 0, dev_addr, bssid); in wpas_wps_start_dev_pw()
|
D | bss.c | 956 const u8 *dev_addr) in wpa_bss_get_p2p_dev_addr() argument 963 os_memcmp(addr, dev_addr, ETH_ALEN) == 0) in wpa_bss_get_p2p_dev_addr()
|
D | events.c | 1037 u8 dev_addr[ETH_ALEN]; in wpa_scan_res_match() local 1051 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match() 1052 || os_memcmp(dev_addr, ssid->go_p2p_dev_addr, in wpa_scan_res_match()
|
/external/wpa_supplicant_8/src/ap/ |
D | sta_info.c | 1111 const u8 *dev_addr = NULL; in ap_sta_set_authorized() local 1130 dev_addr = addr; in ap_sta_set_authorized() 1132 dev_addr = p2p_group_get_dev_addr(hapd->p2p_group, sta->addr); in ap_sta_set_authorized() 1134 if (dev_addr) in ap_sta_set_authorized() 1136 MAC2STR(sta->addr), MAC2STR(dev_addr)); in ap_sta_set_authorized() 1143 sta->addr, authorized, dev_addr); in ap_sta_set_authorized()
|
/external/libpcap/ |
D | pcap-usb-linux.c | 476 int tag, cnt, ep_num, dev_addr, dummy, ret, urb_len, data_len; in usb_read_linux() local 508 &pipeid1, &pipeid2, &dev_addr, &ep_num, status, in usb_read_linux() 518 uhdr->device_address = dev_addr; in usb_read_linux()
|
/external/iputils/Modules/ |
D | pg3.c | 170 hh[p1]=odev->dev_addr[p2++]; in pg_setup_inject()
|