Searched refs:num_methods (Results 1 – 3 of 3) sorted by relevance
921 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local951 num_methods++; in eap_peer_select_phase2_methods()953 num_methods * sizeof(*methods)); in eap_peer_select_phase2_methods()960 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()961 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()971 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()979 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()982 *num_types = num_methods; in eap_peer_select_phase2_methods()
1052 size_t num_methods = 0; in wpa_config_parse_eap() local1071 (num_methods + 1) * sizeof(*methods)); in wpa_config_parse_eap()1077 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()1078 start, &methods[num_methods].vendor); in wpa_config_parse_eap()1079 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()1080 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()1088 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()1089 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()1093 num_methods++; in wpa_config_parse_eap()1101 methods = os_realloc(methods, (num_methods + 1) * sizeof(*methods)); in wpa_config_parse_eap()[all …]
203 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local294 num_methods = 0; in hostapd_config_read_eap_user()300 user->methods[num_methods].method = in hostapd_config_read_eap_user()303 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()304 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()306 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()332 num_methods++; in hostapd_config_read_eap_user()333 if (num_methods >= EAP_USER_MAX_METHODS) in hostapd_config_read_eap_user()340 if (num_methods == 0 && user->ttls_auth == 0) { in hostapd_config_read_eap_user()