/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() 242 os_strlcpy(master_ifname, pos, IFNAMSIZ); in linux_master_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_common.c | 45 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in driver_wired_get_ifflags() 70 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in driver_wired_set_ifflags() 99 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in driver_wired_multi() 203 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in driver_wired_get_ifstatus() 224 os_strlcpy(common->ifname, ifname, sizeof(common->ifname)); in driver_wired_init_common()
|
D | driver_wext.c | 49 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 79 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 104 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() 133 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_ssid() 176 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_ssid() 219 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_freq() 800 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wext_init() 832 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname)); in wpa_driver_wext_init() 959 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wext_check_hostap() 1097 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_scan() [all …]
|
D | driver_nl80211_android.c | 52 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in android_priv_cmd() 55 os_strlcpy(buf, cmd, sizeof(buf)); in android_priv_cmd() 125 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in android_pno_start()
|
D | driver_wired.c | 190 os_strlcpy(ifr.ifr_name, drv->common.ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 218 os_strlcpy(ifr.ifr_name, drv->common.ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 264 os_strlcpy(ifr.ifr_ifrn.ifrn_name, drv->common.ifname, IFNAMSIZ); in wired_init_sockets() 339 os_strlcpy(drv->common.ifname, params->ifname, in wired_driver_hapd_init()
|
D | driver_bsd.c | 118 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211() 140 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); in bsd_get80211() 184 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_get_ssid() 207 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_ssid() 222 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in bsd_get_if_media() 240 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_if_media() 304 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_ctrl_iface() 619 os_strlcpy(creq.i_name, drv->ifname, sizeof(creq.i_name)); in bsd_set_freq() 869 os_strlcpy(drv->ifname, params->ifname, sizeof(drv->ifname)); in bsd_init() 958 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); in wpa_driver_bsd_get_bssid() [all …]
|
D | driver_hostap.c | 357 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in hostap_set_iface_flags() 377 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostapd_ioctl() 416 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key() 420 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key() 424 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key() 428 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key() 491 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_ioctl_prism2param() 549 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_ssid() 910 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_get_we_version() 1057 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_freq()
|
D | driver_atheros.c | 193 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in get80211param() 217 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv() 250 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param() 828 os_strlcpy(iwr.ifr_name, drv->iface, sizeof(iwr.ifr_name)); in atheros_set_qos_map() 1373 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in fetch_pending_big_events() 1560 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_we_version() 1705 os_strlcpy(ifr.ifr_name, drv->iface, sizeof(ifr.ifr_name)); in atheros_init() 1739 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_init() 1812 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_set_ssid() 1833 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_ssid() [all …]
|
D | driver_roboswitch.c | 362 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2; in wpa_driver_roboswitch_init() 397 os_strlcpy(drv->ifr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_roboswitch_init()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_ioctl.c | 39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem() 110 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_add()
|
D | vlan_full.c | 75 os_strlcpy(next->ifname, ifname, sizeof(next->ifname)); in dyn_iface_get() 159 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_delif() 210 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_addif() 299 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ); in br_addbr() 338 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_getnumports()
|
D | vlan_ifconfig.c | 31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper()
|
D | eth_p_oui.c | 119 os_strlcpy(iface->ifname, ifname, sizeof(iface->ifname)); in eth_p_oui_register()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 261 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 278 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init() 435 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr() 447 res = os_strlcpy(buf, inet_ntoa(saddr->sin_addr), len); in l2_packet_get_ip_addr()
|
D | l2_packet_freebsd.c | 238 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 305 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() 328 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), 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_pcap.c | 290 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init() 366 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 215 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open2() 218 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path, in wpa_ctrl_open2() 292 if (os_strlcpy(namep, entry.d_name, maxcopy) < maxcopy) in wpa_ctrl_cleanup() 507 os_strlcpy(pos, ctrl->cookie, _cmd_len); in wpa_ctrl_request()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client.c | 629 if (os_strlcpy(buf, cipher, buflen) >= buflen) in tlsv1_client_get_cipher() 856 os_strlcpy(buf, "TLSv1", buflen); in tlsv1_client_get_version() 859 os_strlcpy(buf, "TLSv1.1", buflen); in tlsv1_client_get_version() 862 os_strlcpy(buf, "TLSv1.2", buflen); in tlsv1_client_get_version()
|
/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 | 227 size_t os_strlcpy(char *dest, const char *src, size_t size) in os_strlcpy() function
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_sim_db.c | 214 os_strlcpy(data->db_tmp_identity, argv[i], in get_pseudonym_cb() 315 os_strlcpy(data->db_tmp_identity, argv[i], in get_reauth_cb() 346 os_strlcpy(data->db_tmp_pseudonym_str, reauth_id, in db_get_reauth() 710 os_strlcpy(addr.sun_path, data->fname + 5, sizeof(addr.sun_path)); in eap_sim_db_open_socket() 1002 os_strlcpy(entry->imsi, imsi, sizeof(entry->imsi)); in eap_sim_db_get_gsm_triplets() 1464 os_strlcpy(entry->imsi, imsi, sizeof(entry->imsi)); in eap_sim_db_get_aka_auth()
|
/external/wpa_supplicant_8/src/fst/ |
D | fst_iface.c | 32 os_strlcpy(i->ifname, ifname, sizeof(i->ifname)); in fst_iface_create()
|