diff options
author | venaas <venaas> | 2007-01-05 15:15:16 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-01-05 15:15:16 +0000 |
commit | 575d20abb9c2726039ecb3d0dfc9718866953b5f (patch) | |
tree | 8792fe9388c6e647f6ec373d296e14a43100d816 /radsecproxy.h | |
parent | cb999c284b82a6d50ada6ed23cf2d1d659463090 (diff) |
ok, but trying some test code keeping original id, to be changed back later
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@30 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index 55325b0..548ac98 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -18,6 +18,7 @@ #define DEFAULT_TLS_SECRET "mysecret" #define DEFAULT_UDP_PORT "1812" #define DEFAULT_TLS_PORT "2083" +#define REQUEST_TIMEOUT 5 #define RAD_Access_Request 1 #define RAD_Access_Accept 2 @@ -42,8 +43,9 @@ struct request { unsigned char *buf; uint8_t tries; uint8_t received; - struct timeval timeout; + struct timeval expiry; struct client *from; + char *messageauthattrval; uint8_t origid; /* used by servwr */ char origauth[16]; /* used by servwr */ struct sockaddr_storage fromsa; /* used by udpservwr */ |