Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:eap

2  * EAP peer: Method registration
23 * eap_peer_get_eap_method - Get EAP method based on type number
24 * @vendor: EAP Vendor-Id (0 = IETF)
25 * @method: EAP type number
26 * Returns: Pointer to EAP method or %NULL if not found
40 * eap_peer_get_type - Get EAP type for the given EAP method name
41 * @name: EAP method name, e.g., TLS
42 * @vendor: Buffer for returning EAP Vendor-Id
43 * Returns: EAP method type or %EAP_TYPE_NONE if not found
45 * This function maps EAP type names into EAP type numbers based on the list of
46 * EAP methods included in the build.
63 * eap_get_name - Get EAP method name for the given EAP type
64 * @vendor: EAP Vendor-Id (0 = IETF)
65 * @type: EAP method type
66 * Returns: EAP method name, e.g., TLS, or %NULL if not found
68 * This function maps EAP type numbers into EAP type names based on the list of
69 * EAP methods included in the build.
85 * eap_get_names - Get space separated list of names for supported EAP methods
117 * eap_get_names_as_string_array - Get supported EAP methods as string array
122 * This function returns the list of names for all supported EAP methods as an
159 * eap_peer_get_methods - Get a list of enabled EAP peer methods
161 * Returns: List of enabled EAP peer methods
178 * eap_peer_method_load - Load a dynamic EAP method library (shared object)
190 wpa_printf(MSG_ERROR, "EAP: Failed to open dynamic EAP method "
198 wpa_printf(MSG_ERROR, "EAP: Invalid EAP method '%s' - no "
206 wpa_printf(MSG_ERROR, "EAP: Failed to add EAP method '%s' - "
212 * dlclose() when the EAP method is unregistered. */
215 wpa_printf(MSG_DEBUG, "EAP: Loaded dynamic EAP method: '%s'", so);
222 * eap_peer_method_unload - Unload a dynamic EAP method library (shared object)
223 * @method: Pointer to the dynamically loaded EAP method
226 * This function can be used to unload EAP methods that have been previously
268 * eap_peer_method_alloc - Allocate EAP peer method structure
269 * @version: Version of the EAP peer method interface (set to
271 * @vendor: EAP Vendor-ID (EAP_VENDOR_*) (0 = IETF)
272 * @method: EAP type number (EAP_TYPE_*)
274 * Returns: Allocated EAP method structure or %NULL on failure
282 struct eap_method *eap;
283 eap = os_zalloc(sizeof(*eap));
284 if (eap == NULL)
286 eap->version = version;
287 eap->vendor = vendor;
288 eap->method = method;
289 eap->name = name;
290 return eap;
295 * eap_peer_method_free - Free EAP peer method structure
305 * eap_peer_method_register - Register an EAP peer method
306 * @method: EAP method to register
307 * Returns: 0 on success, -1 on invalid method, or -2 if a matching EAP method
310 * Each EAP peer method needs to call this function to register itself as a
311 * supported EAP method.
339 * eap_peer_unregister_methods - Unregister EAP peer methods
341 * This function is called at program termination to unregister all EAP peer