summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-22 09:56:09 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-22 09:56:09 +0000
commit0a91909578c24505e8d92658f97b895ed8603085 (patch)
tree65dd8f0377926ae2cf7a4a665f049a07e86dbfa4 /radsecproxy.h
parent2bf81d826d330a5d824f88af9b3931f5afcac66d (diff)
starting to generalise transport support, renamed delay to interval
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@315 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 480af6a..aaa49c6 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -15,7 +15,7 @@
#define DEFAULT_TLS_SECRET "mysecret"
#define DEFAULT_UDP_PORT "1812"
#define DEFAULT_TLS_PORT "2083"
-#define REQUEST_RETRY_DELAY 5
+#define REQUEST_RETRY_INTERVAL 5
#define REQUEST_RETRY_COUNT 2
#define MAX_CERT_DEPTH 5
#define STATUS_SERVER_PERIOD 25
@@ -103,7 +103,7 @@ struct clsrvconf {
char *rewriteattrreplacement;
char *dynamiclookupcommand;
uint8_t statusserver;
- uint8_t retrydelay;
+ uint8_t retryinterval;
uint8_t retrycount;
uint8_t certnamecheck;
SSL_CTX *ssl_ctx;
@@ -165,6 +165,13 @@ struct rewriteconf {
struct rewrite *rewrite;
};
+struct protodefs {
+ uint8_t retrycountdefault;
+ uint8_t retrycountmax;
+ uint8_t retryintervaldefault;
+ uint8_t retryintervalmax;
+};
+
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define ATTRTYPE(x) ((x)[0])