Home
last modified time | relevance | path

Searched refs:os_snprintf_error (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c38 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask()
46 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask()
74 if (os_snprintf_error(buflen, ret)) in hostapd_get_sta_conn_time()
97 if (os_snprintf_error(buflen, ret)) in hostapd_get_sta_info()
103 if (os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
109 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
115 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
121 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
126 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
130 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
[all …]
H A Dmbo_ap.c69 if (os_snprintf_error(end - pos, ret)) { in mbo_ap_parse_non_pref_chan()
127 if (os_snprintf_error(end - pos, ret)) in mbo_ap_get_info()
139 if (os_snprintf_error(end - pos2, ret)) in mbo_ap_get_info()
148 if (os_snprintf_error(end - pos2, ret)) { in mbo_ap_get_info()
158 if (os_snprintf_error(end - pos2, ret)) in mbo_ap_get_info()
H A Dtaxonomy.c221 if (os_snprintf_error(fend - fpos, ret)) in ie_to_string()
232 if (os_snprintf_error(fend - fpos, ret)) { in ie_to_string()
249 if (os_snprintf_error(buflen, ret)) in retrieve_sta_taxonomy()
259 if (os_snprintf_error(end - pos, ret)) in retrieve_sta_taxonomy()
H A Dpmksa_cache_auth.c662 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_auth_list()
670 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_auth_list()
678 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_auth_list()
725 if (os_snprintf_error(end - pos, ret)) in pmksa_cache_auth_list_mesh()
733 if (os_snprintf_error(end - pos, ret)) in pmksa_cache_auth_list_mesh()
742 if (os_snprintf_error(end - pos, ret)) in pmksa_cache_auth_list_mesh()
/freebsd/contrib/wpa/src/eapol_auth/
H A Deapol_auth_dump.c133 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
176 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
218 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
243 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
254 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
261 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
270 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
283 if (os_snprintf_error(end - pos, ret)) in eapol_auth_dump_state()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c1023 if (os_snprintf_error(buflen, res)) in wpa_supplicant_ctrl_iface_get()
1155 if (os_snprintf_error(buflen, ret)) in ctrl_iface_get_capability_tdls()
1279 if (os_snprintf_error(buflen, ret)) in wpa_supplicant_ctrl_iface_tdls_link_status()
1471 if (os_snprintf_error(buflen, ret)) in wpa_supplicant_ctrl_iface_wps_pin()
1483 if (os_snprintf_error(buflen, ret)) in wpa_supplicant_ctrl_iface_wps_pin()
1520 if (os_snprintf_error(buflen, ret)) in wpa_supplicant_ctrl_iface_wps_check_pin()
1527 if (os_snprintf_error(buflen, ret)) in wpa_supplicant_ctrl_iface_wps_check_pin()
2263 if (os_snprintf_error(end - pos, ret)) in wpa_supplicant_ctrl_iface_status()
2268 if (os_snprintf_error(end - pos, ret)) in wpa_supplicant_ctrl_iface_status()
2286 if (os_snprintf_error(end - pos, ret)) in wpa_supplicant_ctrl_iface_status()
[all …]
H A Dconfig.c269 if (os_snprintf_error(20, res)) { in wpa_config_write_int()
407 if (os_snprintf_error(20, res)) { in wpa_config_write_bssid()
452 if (os_snprintf_error(20, res)) { in wpa_config_write_bssid_hint()
648 if (os_snprintf_error(len, res)) { in wpa_config_write_psk()
739 if (os_snprintf_error(end - pos, ret)) in wpa_config_write_proto()
747 if (os_snprintf_error(end - pos, ret)) in wpa_config_write_proto()
755 if (os_snprintf_error(end - pos, ret)) in wpa_config_write_proto()
907 if (os_snprintf_error(end - pos, ret)) { in wpa_config_write_key_mgmt()
917 if (os_snprintf_error(end - pos, ret)) { in wpa_config_write_key_mgmt()
927 if (os_snprintf_error(end - pos, ret)) { in wpa_config_write_key_mgmt()
[all …]
H A Drobust_av.c965 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
980 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
989 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
998 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
1007 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
1035 if (os_snprintf_error(rem_len, res)) in write_ipv6_info()
1050 if (os_snprintf_error(rem_len, res)) in write_ipv6_info()
1059 if (os_snprintf_error(rem_len, res)) in write_ipv6_info()
1068 if (os_snprintf_error(rem_len, res)) in write_ipv6_info()
1078 if (os_snprintf_error(rem_len, res)) in write_ipv6_info()
[all …]
H A Dwpa_cli.c165 if (os_snprintf_error(flen, res)) { in wpa_cli_open_connection()
435 if (os_snprintf_error(sizeof(cmd), res)) { in wpa_cli_cmd_set()
708 if (os_snprintf_error(sizeof(cmd), res)) { in wpa_cli_cmd_bss_flush()
876 if (os_snprintf_error(sizeof(cmd), res)) { in wpa_cli_cmd_wps_reg()
1001 if (os_snprintf_error(sizeof(cmd), res)) { in wpa_cli_cmd_wps_er_config()
1053 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_identity()
1060 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_identity()
1086 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_password()
1093 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_password()
1120 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_new_password()
[all …]
H A Dmesh.c756 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text()
773 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text()
799 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text()
806 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text()
812 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text()
838 if (os_snprintf_error(len, res) || in wpas_mesh_get_ifname()
843 if (os_snprintf_error(len, res)) in wpas_mesh_get_ifname()
/freebsd/contrib/wpa/src/common/
H A Dptksa_cache.c179 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
186 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
193 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
199 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
204 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
210 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
215 if (os_snprintf_error(buf + len - pos, ret)) in ptksa_cache_list()
H A Dcli.c220 if (os_snprintf_error(end - pos, res)) in write_cmd()
226 if (os_snprintf_error(end - pos, res)) in write_cmd()
H A Dwpa_common.c3272 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3279 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3286 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3293 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3300 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3307 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3314 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3321 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3328 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
3335 if (os_snprintf_error(end - pos, ret)) in wpa_write_ciphers()
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c221 if (os_snprintf_error(buflen, ret)) in hostapd_ctrl_iface_wps_check_pin()
228 if (os_snprintf_error(buflen, ret)) in hostapd_ctrl_iface_wps_check_pin()
559 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_wps_get_status()
569 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_wps_get_status()
580 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_wps_get_status()
589 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_wps_get_status()
829 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_get_key_mgmt()
835 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_get_key_mgmt()
842 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_get_key_mgmt()
848 if (os_snprintf_error(end - pos, ret)) in hostapd_ctrl_iface_get_key_mgmt()
[all …]
H A Dhostapd_cli.c474 if (os_snprintf_error(sizeof(cmd), res)) { in hostapd_cli_cmd_wps_check_pin()
537 if (os_snprintf_error(sizeof(cmd), res)) { in hostapd_cli_cmd_wps_nfc_config_token()
558 if (os_snprintf_error(sizeof(cmd), res)) { in hostapd_cli_cmd_wps_nfc_token()
580 if (os_snprintf_error(sizeof(cmd), res)) { in hostapd_cli_cmd_nfc_get_handover_sel()
677 if (os_snprintf_error(sizeof(buf), res)) in hostapd_cli_cmd_disassoc_imminent()
697 if (os_snprintf_error(sizeof(buf), res)) in hostapd_cli_cmd_ess_disassoc()
715 if (os_snprintf_error(sizeof(buf), res)) in hostapd_cli_cmd_bss_tm_req()
722 if (os_snprintf_error(sizeof(buf) - total, res)) in hostapd_cli_cmd_bss_tm_req()
850 if (os_snprintf_error(sizeof(buf), res)) in hostapd_cli_cmd_set_qos_map_set()
869 if (os_snprintf_error(sizeof(buf), res)) in hostapd_cli_cmd_send_qos_map_conf()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dwps.c566 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
574 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
582 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
591 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
601 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
613 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
633 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
642 if (os_snprintf_error(end - pos, ret)) in wps_attr_text()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_parse.c750 if (os_snprintf_error(end - pos, ret)) in p2p_group_info_text()
761 if (os_snprintf_error(end - pos, ret)) in p2p_group_info_text()
770 if (os_snprintf_error(end - pos, ret)) in p2p_group_info_text()
785 if (os_snprintf_error(end - pos, ret)) in p2p_group_info_text()
819 if (os_snprintf_error(end - pos, ret)) in p2p_attr_text()
831 if (os_snprintf_error(end - pos, ret)) in p2p_attr_text()
838 if (os_snprintf_error(end - pos, ret)) in p2p_attr_text()
846 if (os_snprintf_error(end - pos, ret)) in p2p_attr_text()
853 if (os_snprintf_error(end - pos, ret)) in p2p_attr_text()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_fast_pac.c507 if (os_snprintf_error(end - *pos, ret)) in eap_fast_write()
512 if (os_snprintf_error(end - *pos, ret)) in eap_fast_write()
518 if (os_snprintf_error(end - *pos, ret)) in eap_fast_write()
523 if (os_snprintf_error(end - *pos, ret)) in eap_fast_write()
528 if (os_snprintf_error(end - *pos, ret)) in eap_fast_write()
581 if (os_snprintf_error(*buf + *buf_len - *pos, ret)) in eap_fast_add_pac_data()
603 if (os_snprintf_error(*buf + *buf_len - *pos, ret)) in eap_fast_add_pac_data()
635 if (os_snprintf_error(buf + buf_len - pos, ret)) { in eap_fast_save_pac()
H A Deap_teap_pac.c508 if (os_snprintf_error(end - *pos, ret)) in eap_teap_write()
513 if (os_snprintf_error(end - *pos, ret)) in eap_teap_write()
519 if (os_snprintf_error(end - *pos, ret)) in eap_teap_write()
524 if (os_snprintf_error(end - *pos, ret)) in eap_teap_write()
529 if (os_snprintf_error(end - *pos, ret)) in eap_teap_write()
586 if (os_snprintf_error(*buf + *buf_len - *pos, ret)) in eap_teap_add_pac_data()
607 if (os_snprintf_error(*buf + *buf_len - *pos, ret)) in eap_teap_add_pac_data()
639 if (os_snprintf_error(buf + buf_len - pos, ret)) { in eap_teap_save_pac()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dpmksa_cache.c748 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_list()
757 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_list()
765 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_list()
772 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_list()
777 if (os_snprintf_error(buf + len - pos, ret)) in pmksa_cache_list()
/freebsd/contrib/wpa/hs20/client/
H A Dosu_client.c1606 if (os_snprintf_error(sizeof(buf), res)) in set_pps_cred_digital_cert()
1616 if (os_snprintf_error(sizeof(buf), res)) in set_pps_cred_digital_cert()
1647 if (os_snprintf_error(sizeof(buf), res)) in set_pps_cred_realm()
2044 if (os_snprintf_error(sizeof(last->bssid), res)) in parse_osu_providers()
2054 if (os_snprintf_error(sizeof(last->url), res)) in parse_osu_providers()
2068 if (os_snprintf_error(sizeof(last->osu_ssid), res)) in parse_osu_providers()
2077 if (os_snprintf_error(sizeof(last->osu_ssid2), res)) in parse_osu_providers()
2085 if (os_snprintf_error(sizeof(last->osu_nai), res)) in parse_osu_providers()
2094 if (os_snprintf_error(sizeof(last->osu_nai2), res)) in parse_osu_providers()
2110 if (os_snprintf_error(sizeof(txt->lang), res)) in parse_osu_providers()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Duuid.c59 if (os_snprintf_error(max_len, len)) in uuid_bin2str()
H A Dcommon.c207 if (os_snprintf_error(len, res)) in hwaddr_mask_txt()
306 if (os_snprintf_error(end - pos, ret)) { in wpa_snprintf_hex_sep()
328 if (os_snprintf_error(end - pos, ret)) { in _wpa_snprintf_hex()
871 if (os_snprintf_error(end - pos, res)) { in freq_range_list_str()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_sim_db.c983 if (os_snprintf_error(sizeof(msg), len) || in eap_sim_db_get_gsm_triplets()
989 if (os_snprintf_error(sizeof(msg) - len, ret)) in eap_sim_db_get_gsm_triplets()
1448 if (os_snprintf_error(sizeof(msg), len) || in eap_sim_db_get_aka_auth()
1514 if (os_snprintf_error(sizeof(msg), len) || in eap_sim_db_resynchronize()
1521 if (os_snprintf_error(sizeof(msg) - len, ret)) in eap_sim_db_resynchronize()
1527 if (os_snprintf_error(sizeof(msg) - len, ret)) in eap_sim_db_resynchronize()
/freebsd/contrib/wpa/src/fst/
H A Dfst_ctrl_iface.c77 return !os_snprintf_error(size, len); in format_session_state_extra()
548 if (os_snprintf_error(buflen - ret, res)) in iface_peers()
619 if (os_snprintf_error(buflen - ret, res)) in list_ifaces()
639 if (os_snprintf_error(buflen - ret, res)) in list_groups()

1234