diff options
author | venaas <venaas> | 2008-10-31 14:33:32 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-10-31 14:33:32 +0000 |
commit | 94bb92925c8afd0f426f2afdd3521516e9cbdc3b (patch) | |
tree | e106d2b934365259bff649d7116ba11a114f1250 /radsecproxy.h | |
parent | d31e6fdb6fb4859e5beb6d915ce474b064e019b1 (diff) |
added initial ttl support, need testing
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@430 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index 0ba9db0..c891ba5 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -22,6 +22,9 @@ #define STATUS_SERVER_PERIOD 25 #define IDLE_TIMEOUT 300 +/* 27262 is vendor DANTE Ltd. */ +#define DEFAULT_TTL_ATTR "27262:1" + #define RAD_UDP 0 #define RAD_TLS 1 #define RAD_TCP 2 @@ -30,11 +33,11 @@ struct options { char **listenargs[RAD_PROTOCOUNT]; - char *sourceudp; - char *sourcetcp; - char *sourcetls; - char *sourcedtls; + char *sourcearg[RAD_PROTOCOUNT]; char *logdestination; + char *ttlattr; + uint32_t ttlattrtype[2]; + uint8_t addttl; uint8_t loglevel; uint8_t loopprevention; }; @@ -185,7 +188,6 @@ struct protodefs { uint8_t retryintervalmax; uint8_t duplicateintervaldefault; void *(*listener)(void*); - char **srcaddrport; int (*connecter)(struct server *, struct timeval *, int, char *); void *(*clientconnreader)(void*); int (*clientradput)(struct server *, unsigned char *); |