Home
last modified time | relevance | path

Searched refs:num_methods (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/wpa/src/ap/
H A Deap_user_db.c26 int num_methods; in set_user_methods() local
33 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()
/freebsd-14.2/sys/ofed/include/rdma/
H A Duverbs_named_ioctl.h82 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
96 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
107 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
H A Duverbs_ioctl.h338 size_t num_methods; member
/freebsd-14.2/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c1112 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1149 num_methods++; in eap_peer_select_phase2_methods()
1150 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1158 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1159 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1169 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1177 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1180 *num_types = num_methods; in eap_peer_select_phase2_methods()
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dconfig.c1574 size_t num_methods = 0; in wpa_config_parse_eap() local
1599 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1600 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1602 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1611 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1615 num_methods++; in wpa_config_parse_eap()
1628 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()
1629 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()
1630 num_methods++; in wpa_config_parse_eap()
1645 for (j = 0; j < num_methods; j++) { in wpa_config_parse_eap()
[all …]
/freebsd-14.2/contrib/wpa/hostapd/
H A Dconfig_file.c256 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
377 num_methods = 0; in hostapd_config_read_eap_user()
383 user->methods[num_methods].method = in hostapd_config_read_eap_user()
386 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
387 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
389 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
419 num_methods++; in hostapd_config_read_eap_user()
420 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
427 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_uapi.c211 for (i = 0; i != obj->num_methods; i++) { in uapi_merge_obj_tree()