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()
1103 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local1140 num_methods++; in eap_peer_select_phase2_methods()1141 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()1149 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()1150 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()1160 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()1168 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()1171 *num_types = num_methods; in eap_peer_select_phase2_methods()
1518 size_t num_methods = 0; in wpa_config_parse_eap() local1543 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()1544 start, &methods[num_methods].vendor); in wpa_config_parse_eap()1546 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()1555 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()1559 num_methods++; in wpa_config_parse_eap()1572 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()1573 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()1574 num_methods++; in wpa_config_parse_eap()1589 for (j = 0; j < num_methods; j++) { in wpa_config_parse_eap()[all …]
302 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local423 num_methods = 0; in hostapd_config_read_eap_user()429 user->methods[num_methods].method = in hostapd_config_read_eap_user()432 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()433 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()435 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()465 num_methods++; in hostapd_config_read_eap_user()466 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()473 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()