only count lost normal rqs when not statusserver, restructured udp code a bit, prepar...
[libradsec.git] / radsecproxy.h
index 5a0b3e0..0a711d1 100644 (file)
@@ -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;