Home | History | Annotate | Download | only in eap_peer

Lines Matching defs:eap

2  * EAP peer: Method registration
29 * eap_peer_get_eap_method - Get EAP method based on type number
30 * @vendor: EAP Vendor-Id (0 = IETF)
31 * @method: EAP type number
32 * Returns: Pointer to EAP method or %NULL if not found
46 * eap_peer_get_type - Get EAP type for the given EAP method name
47 * @name: EAP method name, e.g., TLS
48 * @vendor: Buffer for returning EAP Vendor-Id
49 * Returns: EAP method type or %EAP_TYPE_NONE if not found
51 * This function maps EAP type names into EAP type numbers based on the list of
52 * EAP methods included in the build.
69 * eap_get_name - Get EAP method name for the given EAP type
70 * @vendor: EAP Vendor-Id (0 = IETF)
71 * @type: EAP method type
72 * Returns: EAP method name, e.g., TLS, or %NULL if not found
74 * This function maps EAP type numbers into EAP type names based on the list of
75 * EAP methods included in the build.
89 * eap_get_names - Get space separated list of names for supported EAP methods
121 * eap_get_names_as_string_array - Get supported EAP methods as string array
126 * This function returns the list of names for all supported EAP methods as an
163 * eap_peer_get_methods - Get a list of enabled EAP peer methods
165 * Returns: List of enabled EAP peer methods
182 * eap_peer_method_load - Load a dynamic EAP method library (shared object)
194 wpa_printf(MSG_ERROR, "EAP: Failed to open dynamic EAP method "
202 wpa_printf(MSG_ERROR, "EAP: Invalid EAP method '%s' - no "
210 wpa_printf(MSG_ERROR, "EAP: Failed to add EAP method '%s' - "
216 * dlclose() when the EAP method is unregistered. */
219 wpa_printf(MSG_DEBUG, "EAP: Loaded dynamic EAP method: '%s'", so);
226 * eap_peer_method_unload - Unload a dynamic EAP method library (shared object)
227 * @method: Pointer to the dynamically loaded EAP method
230 * This function can be used to unload EAP methods that have been previously
272 * eap_peer_method_alloc - Allocate EAP peer method structure
273 * @version: Version of the EAP peer method interface (set to
275 * @vendor: EAP Vendor-ID (EAP_VENDOR_*) (0 = IETF)
276 * @method: EAP type number (EAP_TYPE_*)
278 * Returns: Allocated EAP method structure or %NULL on failure
286 struct eap_method *eap;
287 eap = os_zalloc(sizeof(*eap));
288 if (eap == NULL)
290 eap->version = version;
291 eap->vendor = vendor;
292 eap->method = method;
293 eap->name = name;
294 return eap;
299 * eap_peer_method_free - Free EAP peer method structure
309 * eap_peer_method_register - Register an EAP peer method
310 * @method: EAP method to register
311 * Returns: 0 on success, -1 on invalid method, or -2 if a matching EAP method
314 * Each EAP peer method needs to call this function to register itself as a
315 * supported EAP method.
343 * eap_peer_register_methods - Register statically linked EAP peer methods
346 * This function is called at program initialization to register all EAP peer
498 * eap_peer_unregister_methods - Unregister EAP peer methods
500 * This function is called at program termination to unregister all EAP peer