/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 27 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_iface_flags() 67 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_iface_up() 85 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_get_ifhwaddr() 108 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_ifhwaddr() 170 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_add_if() 192 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_del_if() 219 os_strlcpy(brname, pos, IFNAMSIZ); in linux_br_get()
|
D | driver_openbsd.c | 36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wpa_driver_openbsd_get_ssid() 52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name)); in wpa_driver_openbsd_get_bssid() 82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name)); in wpa_driver_openbsd_set_key() 107 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_openbsd_init()
|
D | driver_wired.c | 222 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 248 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 290 os_strlcpy(ifr.ifr_ifrn.ifrn_name, drv->ifname, IFNAMSIZ); in wired_init_sockets() 361 os_strlcpy(drv->ifname, params->ifname, sizeof(drv->ifname)); in wired_driver_hapd_init() 422 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifflags() 446 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_set_ifflags() 471 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifstatus() 502 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_multi() 548 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wired_init()
|
D | driver_wext.c | 48 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 78 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 103 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() 132 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_ssid() 174 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_ssid() 216 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_freq() 807 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wext_init() 838 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname)); in wpa_driver_wext_init() 923 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wpa_driver_wext_finish_drv_init() 1016 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_scan() [all …]
|
D | driver_bsd.c | 78 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211() 100 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); in bsd_get80211() 144 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_get_ssid() 167 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_ssid() 182 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in bsd_get_if_media() 200 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_if_media() 264 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_ctrl_iface() 569 os_strlcpy(creq.i_name, drv->ifname, sizeof(creq.i_name)); in bsd_set_freq() 820 os_strlcpy(drv->ifname, params->ifname, sizeof(drv->ifname)); in bsd_init() 924 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); in wpa_driver_bsd_get_bssid() [all …]
|
D | driver_hostap.c | 361 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in hostap_set_iface_flags() 381 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostapd_ioctl() 419 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key() 423 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key() 427 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key() 431 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key() 494 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_ioctl_prism2param() 551 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_ssid() 914 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_get_we_version() 1058 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_freq()
|
D | driver_madwifi.c | 99 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv() 200 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param() 803 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in madwifi_set_freq() 1028 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in madwifi_get_we_version() 1148 os_strlcpy(ifr.ifr_name, drv->iface, sizeof(ifr.ifr_name)); in madwifi_init() 1180 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in madwifi_init() 1236 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in madwifi_set_ssid() 1257 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in madwifi_get_ssid()
|
D | driver_macsec_qca.c | 139 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_get_ifflags() 163 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_set_ifflags() 188 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in macsec_qca_get_ifstatus() 219 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_multi() 312 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in macsec_qca_init()
|
D | driver_atheros.c | 189 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv() 222 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param() 929 os_strlcpy(iwr.ifr_name, drv->iface, sizeof(iwr.ifr_name)); in atheros_set_qos_map() 1414 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in fetch_pending_big_events() 1601 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_we_version() 1721 os_strlcpy(ifr.ifr_name, drv->iface, sizeof(ifr.ifr_name)); in atheros_init() 1754 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_init() 1820 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_set_ssid() 1841 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_ssid() 2010 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211big()
|
D | driver_roboswitch.c | 360 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2; in wpa_driver_roboswitch_init() 395 os_strlcpy(drv->ifr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_roboswitch_init()
|
D | driver_privsep.c | 516 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_privsep_init() 640 os_strlcpy(addr.sun_path, drv->own_socket_path, sizeof(addr.sun_path)); in wpa_driver_privsep_set_param() 665 os_strlcpy(addr.sun_path, drv->own_cmd_path, sizeof(addr.sun_path)); in wpa_driver_privsep_set_param()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 104 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 118 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init() 183 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr() 195 res = os_strlcpy(buf, inet_ntoa(saddr->sin_addr), len); in l2_packet_get_ip_addr()
|
D | l2_packet_none.c | 78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
|
D | l2_packet_freebsd.c | 238 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 293 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
|
D | l2_packet_winpcap.c | 211 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 316 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
|
D | l2_packet_pcap.c | 289 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 353 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 50 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper() 132 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_delif() 183 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_addif() 272 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ); in br_addbr() 311 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_getnumports() 355 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem() 428 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_add()
|
/external/wpa_supplicant_8/src/utils/ |
D | ip_addr.c | 21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); in hostapd_ip_txt()
|
D | os_none.c | 215 size_t os_strlcpy(char *dest, const char *src, size_t size) in os_strlcpy() function
|
D | os_win32.c | 224 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() function
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 180 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open() 183 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path, in wpa_ctrl_open() 257 if (os_strlcpy(namep, entry.d_name, maxcopy) < maxcopy) in wpa_ctrl_cleanup() 473 os_strlcpy(pos, ctrl->cookie, _cmd_len); in wpa_ctrl_request()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_sim_db.c | 209 os_strlcpy(data->db_tmp_identity, argv[i], in get_pseudonym_cb() 310 os_strlcpy(data->db_tmp_identity, argv[i], in get_reauth_cb() 341 os_strlcpy(data->db_tmp_pseudonym_str, reauth_id, in db_get_reauth() 656 os_strlcpy(addr.sun_path, data->fname + 5, sizeof(addr.sun_path)); in eap_sim_db_open_socket() 945 os_strlcpy(entry->imsi, imsi, sizeof(entry->imsi)); in eap_sim_db_get_gsm_triplets() 1405 os_strlcpy(entry->imsi, imsi, sizeof(entry->imsi)); in eap_sim_db_get_aka_auth()
|
D | eap_server_sim.c | 470 os_strlcpy(data->permanent, data->reauth->permanent, in eap_sim_process_start() 491 os_strlcpy(data->permanent, permanent, in eap_sim_process_start() 496 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_sim_process_start()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_unix.c | 441 os_strlcpy(addr.sun_path, fname, sizeof(addr.sun_path)); in wpas_ctrl_iface_open_sock() 906 os_strlcpy(addr.sun_path + 1, ctrl + 10, in wpas_global_ctrl_iface_open_sock() 920 os_strlcpy(addr.sun_path, ctrl, sizeof(addr.sun_path)); in wpas_global_ctrl_iface_open_sock()
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 258 os_strlcpy(addr.sun_path, path, sizeof(addr.sun_path)); in open_socket() 323 os_strlcpy(g->imsi, pos, sizeof(g->imsi)); in read_gsm_triplets() 461 os_strlcpy(m->imsi, pos, sizeof(m->imsi)); in read_milenage()
|