Home
last modified time | relevance | path

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

1234

/freebsd/contrib/wpa/src/drivers/
H A Dlinux_ioctl.c28 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_iface_flags()
68 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_iface_up()
86 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_get_ifhwaddr()
109 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_ifhwaddr()
160 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_add_if()
194 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_del_if()
221 os_strlcpy(brname, pos, IFNAMSIZ); in linux_br_get()
244 os_strlcpy(master_ifname, pos, IFNAMSIZ); in linux_master_get()
H A 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()
85 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name));
110 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname));
H A Ddriver_wired_common.c45 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()
H A 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()
H A 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()
801 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); in wpa_driver_wext_init()
833 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname)); in wpa_driver_wext_init()
962 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wext_check_hostap()
1105 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_scan()
[all …]
H A Ddriver_bsd.c115 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211()
137 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); in bsd_get80211()
183 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_get_ssid()
206 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_ssid()
221 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in bsd_get_if_media()
239 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_set_if_media()
303 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in bsd_ctrl_iface()
645 os_strlcpy(creq.i_name, drv->ifname, sizeof(creq.i_name)); in bsd_set_freq()
703 os_strlcpy(event.interface_status.ifname, ifa->ifa_name, in bsd_route_overflow()
716 os_strlcpy(event.interface_status.ifname, drv->ifname, in bsd_route_overflow()
[all …]
H A Ddriver_wired.c190 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()
H A Ddriver_hostap.c365 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in hostap_set_iface_flags()
385 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostapd_ioctl()
427 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key()
431 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key()
435 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key()
439 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key()
502 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_ioctl_prism2param()
560 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_ssid()
921 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_get_we_version()
1068 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in hostap_set_freq()
H A Ddriver_atheros.c188 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in get80211param()
212 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv()
245 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param()
823 os_strlcpy(iwr.ifr_name, drv->iface, sizeof(iwr.ifr_name)); in atheros_set_qos_map()
1402 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in fetch_pending_big_events()
1598 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_we_version()
1743 os_strlcpy(ifr.ifr_name, drv->iface, sizeof(ifr.ifr_name)); in atheros_init()
1777 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_init()
1850 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_set_ssid()
1871 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in atheros_get_ssid()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dvlan_full.c76 os_strlcpy(next->ifname, ifname, sizeof(next->ifname)); in dyn_iface_get()
163 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_delif()
223 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_addif()
326 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ); in br_addbr()
365 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_getnumports()
427 os_strlcpy(br_name, vlan->bridge, IFNAMSIZ); in vlan_bridge_name()
H A Dvlan_ioctl.c39 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()
H A Dvlan_init.c200 os_strlcpy(ifname, vlan->ifname, sizeof(ifname)); in vlan_add_dynamic()
221 os_strlcpy(n->bridge, vlan->bridge, sizeof(n->bridge)); in vlan_add_dynamic()
H A Dvlan_ifconfig.c31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper()
/freebsd/contrib/wpa/src/l2_packet/
H A Dl2_packet_linux.c284 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
301 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init()
460 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr()
472 res = os_strlcpy(buf, inet_ntoa(saddr->sin_addr), len); in l2_packet_get_ip_addr()
H A Dl2_packet_winpcap.c211 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
331 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
H A Dl2_packet_freebsd.c254 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
321 os_strlcpy(buf, inet_ntoa(saddr->sin_addr), in l2_packet_get_ip_addr()
H A Dl2_packet_none.c78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); in l2_packet_init()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_sim.c525 os_strlcpy(data->permanent, in eap_sim_process_start()
528 os_strlcpy(sm->sim_aka_permanent, in eap_sim_process_start()
541 os_strlcpy(data->permanent, data->reauth->permanent, in eap_sim_process_start()
562 os_strlcpy(data->permanent, permanent, in eap_sim_process_start()
567 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_sim_process_start()
633 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_sim_process_start()
677 os_strlcpy(sm->imsi, &data->permanent[1], sizeof(sm->imsi)); in eap_sim_process_start()
H A Deap_server_aka.c119 os_strlcpy(data->permanent, data->reauth->permanent, in eap_aka_check_identity_reauth()
121 os_strlcpy(sm->sim_aka_permanent, in eap_aka_check_identity_reauth()
136 os_strlcpy(data->permanent, data->reauth->permanent, in eap_aka_check_identity_reauth()
186 os_strlcpy(data->permanent, sm->sim_aka_permanent, in eap_aka_check_identity()
208 os_strlcpy(data->permanent, permanent, in eap_aka_check_identity()
815 os_strlcpy(data->permanent, permanent, in eap_aka_determine_identity()
823 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_aka_determine_identity()
889 os_strlcpy(data->permanent, username, sizeof(data->permanent)); in eap_aka_determine_identity()
926 os_strlcpy(sm->imsi, &data->permanent[1], sizeof(sm->imsi)); in eap_aka_fullauth()
H A Deap_sim_db.c214 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()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client.c677 if (os_strlcpy(buf, cipher, buflen) >= buflen) in tlsv1_client_get_cipher()
905 os_strlcpy(buf, "TLSv1", buflen); in tlsv1_client_get_version()
908 os_strlcpy(buf, "TLSv1.1", buflen); in tlsv1_client_get_version()
911 os_strlcpy(buf, "TLSv1.2", buflen); in tlsv1_client_get_version()
/freebsd/contrib/wpa/src/common/
H A Dwpa_ctrl.c211 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open2()
214 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path, in wpa_ctrl_open2()
287 if (os_strlcpy(namep, result->d_name, maxcopy) < maxcopy) in wpa_ctrl_cleanup()
502 os_strlcpy(pos, ctrl->cookie, _cmd_len); in wpa_ctrl_request()
/freebsd/contrib/wpa/src/utils/
H A Dip_addr.c21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); in hostapd_ip_txt()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c519 os_strlcpy(buf, (char *) password, size); in tls_passwd_cb()
1942 os_strlcpy(buf, "RC4-SHA", buflen); in tls_get_cipher()
1944 os_strlcpy(buf, "AES128-SHA", buflen); in tls_get_cipher()
1946 os_strlcpy(buf, "DHE-RSA-AES128-SHA", buflen); in tls_get_cipher()
1948 os_strlcpy(buf, "ADH-AES128-SHA", buflen); in tls_get_cipher()
1950 os_strlcpy(buf, "DHE-RSA-AES256-SHA", buflen); in tls_get_cipher()
1952 os_strlcpy(buf, "AES256-SHA", buflen); in tls_get_cipher()
1954 os_strlcpy(buf, name, buflen); in tls_get_cipher()
2017 os_strlcpy(buf, name, buflen); in tls_get_version()
/freebsd/contrib/wpa/src/fst/
H A Dfst_iface.c32 os_strlcpy(i->ifname, ifname, sizeof(i->ifname)); in fst_iface_create()

1234