|
wpa_supplicant / hostapd 2.0
|
00001 00010 #ifndef EAP_CONFIG_H 00011 #define EAP_CONFIG_H 00012 00017 struct eap_peer_config { 00025 u8 *identity; 00026 00031 size_t identity_len; 00032 00044 u8 *anonymous_identity; 00045 00050 size_t anonymous_identity_len; 00051 00069 u8 *password; 00070 00075 size_t password_len; 00076 00107 u8 *ca_cert; 00108 00119 u8 *ca_path; 00120 00134 u8 *client_cert; 00135 00162 u8 *private_key; 00163 00170 u8 *private_key_passwd; 00171 00189 u8 *dh_file; 00190 00202 u8 *subject_match; 00203 00221 u8 *altsubject_match; 00222 00240 u8 *ca_cert2; 00241 00255 u8 *ca_path2; 00256 00269 u8 *client_cert2; 00270 00283 u8 *private_key2; 00284 00292 u8 *private_key2_passwd; 00293 00306 u8 *dh_file2; 00307 00315 u8 *subject_match2; 00316 00324 u8 *altsubject_match2; 00325 00333 struct eap_method_type *eap_methods; 00334 00392 char *phase1; 00393 00401 char *phase2; 00402 00413 char *pcsc; 00414 00425 char *pin; 00426 00434 int engine; 00435 00446 char *engine_id; 00447 00458 int engine2; 00459 00460 00474 char *pin2; 00475 00489 char *engine2_id; 00490 00491 00499 char *key_id; 00500 00508 char *cert_id; 00509 00516 char *ca_cert_id; 00517 00525 char *key2_id; 00526 00534 char *cert2_id; 00535 00542 char *ca_cert2_id; 00543 00551 u8 *otp; 00552 00557 size_t otp_len; 00558 00567 int pending_req_identity; 00568 00577 int pending_req_password; 00578 00587 int pending_req_pin; 00588 00597 int pending_req_new_password; 00598 00607 int pending_req_passphrase; 00608 00617 char *pending_req_otp; 00618 00623 size_t pending_req_otp_len; 00624 00636 char *pac_file; 00637 00645 int mschapv2_retry; 00646 00655 u8 *new_password; 00656 00661 size_t new_password_len; 00662 00673 int fragment_size; 00674 00675 #define EAP_CONFIG_FLAGS_PASSWORD_NTHASH BIT(0) 00676 00685 u32 flags; 00686 }; 00687 00688 00697 struct wpa_config_blob { 00702 char *name; 00703 00708 u8 *data; 00709 00714 size_t len; 00715 00720 struct wpa_config_blob *next; 00721 }; 00722 00723 #endif /* EAP_CONFIG_H */ 00724
1.7.3