aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-03-13 16:26:10 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-03-13 16:27:18 +0100
commitd90ade8f796ed8490fcebd787185df77c1f5283a (patch)
tree5b0be4ad760e66a2c1de3127f15dd2c25f736efc /src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h
parentdfa3084223a8c2ee7cc8ef85d4129075af337285 (diff)
downloadstrongswan-d90ade8f796ed8490fcebd787185df77c1f5283a.tar.bz2
strongswan-d90ade8f796ed8490fcebd787185df77c1f5283a.tar.xz
implemented RADIUS Filter-ID attribute
Diffstat (limited to 'src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h')
-rw-r--r--src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h b/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h
index 65268971a..b9f5d097b 100644
--- a/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h
+++ b/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h
@@ -24,6 +24,7 @@
typedef struct tnc_pdp_connections_t tnc_pdp_connections_t;
#include <library.h>
+#include <sa/ike_sa.h>
#include <sa/authenticators/eap/eap_method.h>
/**
@@ -36,10 +37,11 @@ struct tnc_pdp_connections_t {
*
* @param nas_id NAS identifier of Policy Enforcement Point
* @param user_name User name of TNC Client
+ * @param peer Peer identity
* @param method EAP method state for this TNC PEP Connection
*/
void (*add)(tnc_pdp_connections_t *this, chunk_t nas_id, chunk_t user_name,
- eap_method_t *method);
+ identification_t *peer, eap_method_t *method);
/**
* Remove a TNC PEP RADIUS Connection
@@ -51,14 +53,15 @@ struct tnc_pdp_connections_t {
chunk_t user_name);
/**
- * Get the EAP method of a registered TNC PEP RADIUS Connection
+ * Get the EAP method and IKE_SA of a registered TNC PEP RADIUS Connection
*
* @param nas_id NAS identifier of Policy Enforcement Point
* @param user_name User name of TNC Client
+ * @param ike_sa IKE_SA used for bus communication only
* @return EAP method for this connection or NULL if not found
*/
- eap_method_t* (*get_method)(tnc_pdp_connections_t *this, chunk_t nas_id,
- chunk_t user_name);
+ eap_method_t* (*get_state)(tnc_pdp_connections_t *this, chunk_t nas_id,
+ chunk_t user_name, ike_sa_t **ike_sa);
/**
* Destroys a tnc_pdp_connections_t object.