All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
eap_ttls.h
Go to the documentation of this file.
1 /*
2  * eap_ttls.h
3  *
4  * Version: $Id: b6825ae9df0e4d1df283d3a390cccab0dbf5840b $
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  *
20  * Copyright 2003 Alan DeKok <aland@freeradius.org>
21  * Copyright 2006 The FreeRADIUS server project
22  */
23 #ifndef _EAP_TTLS_H
24 #define _EAP_TTLS_H
25 
26 RCSIDH(eap_ttls_h, "$Id: b6825ae9df0e4d1df283d3a390cccab0dbf5840b $")
27 
28 #include "eap_tls.h"
29 
30 typedef struct ttls_tunnel_t {
38  char const *virtual_server;
40 
41 /*
42  * Process the TTLS portion of an EAP-TTLS request.
43  */
44 PW_CODE eap_ttls_process(eap_session_t *eap_session, tls_session_t *tls_session) CC_HINT(nonnull);
45 
46 #endif /* _EAP_TTLS_H */
bool use_tunneled_reply
Definition: eap_ttls.h:37
bool copy_request_to_tunnel
Definition: eap_ttls.h:36
#define RCSIDH(h, id)
Definition: build.h:136
struct ttls_tunnel_t ttls_tunnel_t
PW_CODE eap_ttls_process(eap_session_t *eap_session, tls_session_t *tls_session) CC_HINT(nonnull)
Definition: ttls.c:929
char const * virtual_server
Definition: eap_ttls.h:38
VALUE_PAIR * username
Definition: eap_ttls.h:31
int default_method
Definition: eap_ttls.h:35
#define CC_HINT(_x)
Definition: build.h:71
VALUE_PAIR * state
Definition: eap_ttls.h:32
Tracks the progress of a single session of any EAP method.
Definition: eap.h:60
VALUE_PAIR * accept_vps
Definition: eap_ttls.h:33
Stores an attribute, a value and various bits of other data.
Definition: pair.h:112
bool authenticated
Definition: eap_ttls.h:34
PW_CODE
RADIUS packet codes.
Definition: radius.h:90