Home
last modified time | relevance | path

Searched refs:os_strlcpy (Results 1 – 25 of 62) sorted by relevance

123

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c27 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()
Ddriver_openbsd.c36 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()
Ddriver_wired.c223 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets()
250 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets()
296 os_strlcpy(ifr.ifr_ifrn.ifrn_name, drv->ifname, IFNAMSIZ); in wired_init_sockets()
371 os_strlcpy(drv->ifname, params->ifname, sizeof(drv->ifname)); in wired_driver_hapd_init()
436 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifflags()
461 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_set_ifflags()
487 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifstatus()
519 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_multi()
566 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wired_init()
Ddriver_nl80211_android.c52 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()
Ddriver_wext.c49 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()
811 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wext_init()
843 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname)); in wpa_driver_wext_init()
970 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wext_check_hostap()
1107 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_scan()
[all …]
Ddriver_bsd.c78 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()
577 os_strlcpy(creq.i_name, drv->ifname, sizeof(creq.i_name)); in bsd_set_freq()
829 os_strlcpy(drv->ifname, params->ifname, sizeof(drv->ifname)); in bsd_init()
933 os_strlcpy(bs.i_name, drv->ifname, sizeof(bs.i_name)); in wpa_driver_bsd_get_bssid()
[all …]
Ddriver_hostap.c364 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in hostap_set_iface_flags()
384 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostapd_ioctl()
423 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key()
427 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key()
431 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key()
435 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key()
498 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_ioctl_prism2param()
556 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_ssid()
919 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_get_we_version()
1066 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_freq()
Ddriver_macsec_qca.c139 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_get_ifflags()
164 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_set_ifflags()
190 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in macsec_qca_get_ifstatus()
222 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in macsec_qca_multi()
316 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in macsec_qca_init()
Ddriver_atheros.c189 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv()
222 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param()
795 os_strlcpy(iwr.ifr_name, drv->iface, sizeof(iwr.ifr_name)); in atheros_set_qos_map()
1308 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in fetch_pending_big_events()
1495 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_we_version()
1619 os_strlcpy(ifr.ifr_name, drv->iface, sizeof(ifr.ifr_name)); in atheros_init()
1653 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_init()
1723 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_set_ssid()
1744 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_ssid()
1914 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211big()
Ddriver_roboswitch.c362 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()
Ddriver_privsep.c522 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_privsep_init()
646 os_strlcpy(addr.sun_path, drv->own_socket_path, sizeof(addr.sun_path)); in wpa_driver_privsep_set_param()
673 os_strlcpy(addr.sun_path, drv->own_cmd_path, sizeof(addr.sun_path)); in wpa_driver_privsep_set_param()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c79 os_strlcpy(next->ifname, ifname, sizeof(next->ifname)); in dyn_iface_get()
135 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper()
217 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_delif()
268 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_addif()
357 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ); in br_addbr()
396 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_getnumports()
440 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem()
513 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_add()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c232 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
247 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init()
398 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr()
410 res = os_strlcpy(buf, inet_ntoa(saddr->sin_addr), len); in l2_packet_get_ip_addr()
Dl2_packet_freebsd.c238 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()
Dl2_packet_pcap.c290 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
354 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
Dl2_packet_winpcap.c211 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()
Dl2_packet_none.c78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
/external/wpa_supplicant_8/src/utils/
Dip_addr.c21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); in hostapd_ip_txt()
Dos_none.c221 size_t os_strlcpy(char *dest, const char *src, size_t size) in os_strlcpy() function
Dos_win32.c243 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() function
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c180 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()
472 os_strlcpy(pos, ctrl->cookie, _cmd_len); in wpa_ctrl_request()
/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.c209 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()
654 os_strlcpy(addr.sun_path, data->fname + 5, sizeof(addr.sun_path)); in eap_sim_db_open_socket()
944 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()
Deap_server_sim.c470 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()
Deap_server_aka.c112 os_strlcpy(data->permanent, data->reauth->permanent, in eap_aka_check_identity_reauth()
167 os_strlcpy(data->permanent, permanent, in eap_aka_check_identity()
761 os_strlcpy(data->permanent, permanent, in eap_aka_determine_identity()
769 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_aka_determine_identity()
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c754 os_strlcpy(buf, "EAP Success", sizeof(buf)); in ieee802_1x_decapsulate_radius()
759 os_strlcpy(buf, "EAP Failure", sizeof(buf)); in ieee802_1x_decapsulate_radius()
763 os_strlcpy(buf, "unknown EAP code", sizeof(buf)); in ieee802_1x_decapsulate_radius()
922 os_strlcpy(wpa_s->ifname, "test", sizeof(wpa_s->ifname)); in wpa_init_conf()

123