From d9826419637bab4349d89bbe1e690a62424d7e21 Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 21 Jul 2008 09:38:08 +0000 Subject: 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 --- radsecproxy.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'radsecproxy.h') 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; -- cgit v1.2.3