summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-21 09:38:08 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-21 09:38:08 +0000
commitd9826419637bab4349d89bbe1e690a62424d7e21 (patch)
treecc9b3b26f02352f2763a20ac3a56d3b116417fc2 /radsecproxy.h
parentf6f0b080b3f40ed9a5c53814bd8ec32c56d45081 (diff)
only count lost normal rqs when not statusserver, restructured udp code a bit, preparing for multiple udp listeners
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@311 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 5a0b3e0..0a711d1 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -62,12 +62,14 @@ struct request {
uint8_t origid; /* used by servwr */
char origauth[16]; /* used by servwr */
struct sockaddr_storage fromsa; /* used by udpservwr */
+ int fromudpsock; /* used by udpservwr */
};
/* replies that a server will send */
struct reply {
unsigned char *buf;
struct sockaddr_storage tosa; /* used by udpservwr */
+ int toudpsock; /* used by udpservwr */
};
struct replyq {
@@ -76,6 +78,11 @@ struct replyq {
pthread_cond_t cond;
};
+struct udpserverrdarg {
+ int s;
+ uint8_t acconly;
+};
+
struct clsrvconf {
char *name;
char *conftype;