Commit d66ccd06 authored by venaas's avatar venaas Committed by venaas
Browse files

finally basic dtls functionality in place

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@345 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 1a0d7136
This diff is collapsed.
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment