eap_config.h
Go to the documentation of this file.
00001 /*
00002  * EAP peer configuration data
00003  * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef EAP_CONFIG_H
00016 #define EAP_CONFIG_H
00017 
00021 struct eap_peer_config {
00028         u8 *identity;
00029 
00033         size_t identity_len;
00034 
00045         u8 *anonymous_identity;
00046 
00050         size_t anonymous_identity_len;
00051 
00068         u8 *password;
00069 
00073         size_t password_len;
00074 
00104         u8 *ca_cert;
00105 
00115         u8 *ca_path;
00116 
00129         u8 *client_cert;
00130 
00156         u8 *private_key;
00157 
00163         u8 *private_key_passwd;
00164 
00181         u8 *dh_file;
00182 
00193         u8 *subject_match;
00194 
00211         u8 *altsubject_match;
00212 
00229         u8 *ca_cert2;
00230 
00243         u8 *ca_path2;
00244 
00256         u8 *client_cert2;
00257 
00269         u8 *private_key2;
00270 
00277         u8 *private_key2_passwd;
00278 
00290         u8 *dh_file2;
00291 
00298         u8 *subject_match2;
00299 
00306         u8 *altsubject_match2;
00307 
00314         struct eap_method_type *eap_methods;
00315 
00372         char *phase1;
00373 
00380         char *phase2;
00381 
00391         char *pcsc;
00392 
00402         char *pin;
00403 
00410         int engine;
00411 
00421         char *engine_id;
00422 
00432         int engine2;
00433 
00434 
00447         char *pin2;
00448 
00461         char *engine2_id;
00462 
00463 
00470         char *key_id;
00471 
00478         char *cert_id;
00479 
00485         char *ca_cert_id;
00486 
00493         char *key2_id;
00494 
00501         char *cert2_id;
00502 
00508         char *ca_cert2_id;
00509 
00516         u8 *otp;
00517 
00521         size_t otp_len;
00522 
00530         int pending_req_identity;
00531 
00539         int pending_req_password;
00540 
00548         int pending_req_pin;
00549 
00557         int pending_req_new_password;
00558 
00566         int pending_req_passphrase;
00567 
00575         char *pending_req_otp;
00576 
00580         size_t pending_req_otp_len;
00581 
00592         char *pac_file;
00593 
00600         int mschapv2_retry;
00601 
00609         u8 *new_password;
00610 
00614         size_t new_password_len;
00615 
00625         int fragment_size;
00626 
00627 #define EAP_CONFIG_FLAGS_PASSWORD_NTHASH BIT(0)
00628 
00636         u32 flags;
00637 };
00638 
00639 
00647 struct wpa_config_blob {
00651         char *name;
00652 
00656         u8 *data;
00657 
00661         size_t len;
00662 
00666         struct wpa_config_blob *next;
00667 };
00668 
00669 #endif /* EAP_CONFIG_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:34