Searched refs:num_methods (Results 1 – 4 of 4) sorted by relevance
26 int num_methods; in set_user_methods() local33 num_methods = 0; in set_user_methods()39 user->methods[num_methods].method = in set_user_methods()41 &user->methods[num_methods].vendor); in set_user_methods()42 if (user->methods[num_methods].vendor == EAP_VENDOR_IETF && in set_user_methods()43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods()66 num_methods++; in set_user_methods()67 if (num_methods >= EAP_MAX_METHODS) in set_user_methods()
1100 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local1133 num_methods++; in eap_peer_select_phase2_methods()1134 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()1142 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()1143 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()1153 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()1161 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()1164 *num_types = num_methods; in eap_peer_select_phase2_methods()
1469 size_t num_methods = 0; in wpa_config_parse_eap() local1494 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()1495 start, &methods[num_methods].vendor); in wpa_config_parse_eap()1497 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()1506 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()1510 num_methods++; in wpa_config_parse_eap()1523 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()1524 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()1525 num_methods++; in wpa_config_parse_eap()1540 for (j = 0; j < num_methods; j++) { in wpa_config_parse_eap()[all …]
300 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local421 num_methods = 0; in hostapd_config_read_eap_user()427 user->methods[num_methods].method = in hostapd_config_read_eap_user()430 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()431 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()433 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()463 num_methods++; in hostapd_config_read_eap_user()464 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()471 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()