summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-20 09:34:56 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-20 09:34:56 +0000
commitd66ccd060ebc434559c6520b6408148193e13a07 (patch)
treeb028aac93ddae248214afc99001057a98cebef84 /radsecproxy.h
parent1a0d7136c4eb09c6718088456993c4f5c0565671 (diff)
finally basic dtls functionality in place
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@345 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index b38f6f0..95506a2 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -76,8 +76,8 @@ struct reply {
int toudpsock; /* used by udpservwr */
};
-struct replyq {
- struct list *replies;
+struct queue {
+ struct list *entries;
pthread_mutex_t mutex;
pthread_cond_t cond;
};
@@ -112,9 +112,11 @@ struct clsrvconf {
struct client {
struct clsrvconf *conf;
- int s; /* for tcp */
+ int sock; /* for tcp/dtls */
SSL *ssl;
- struct replyq *replyq;
+ struct queue *replyq;
+ struct queue *rbios; /* for dtls */
+ struct sockaddr_storage addr; /* for dtls */
};
struct server {
@@ -135,6 +137,7 @@ struct server {
uint8_t newrq;
pthread_mutex_t newrq_mutex;
pthread_cond_t newrq_cond;
+ struct queue *rbios; /* for dtls */
};
struct realm {