summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-04-01 20:42:49 +0200
committerLinus Nordberg <linus@nordu.net>2011-04-01 20:42:49 +0200
commit010285e8814349c31ffb04f7ed0f3c0e3a3c878c (patch)
treeb884a8d5473d26763a6d2bae175ecdd0c71a5e7e /radsecproxy.h
parentfb2fa29c56639e83fce9867b0dafe802e02bf8fe (diff)
Add configuration options for F-Ticks logging.
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index be57c56..2cd55ee 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -33,6 +33,21 @@
#define RAD_DTLS 3
#define RAD_PROTOCOUNT 4
+enum rsp_fticks_reporting_type {
+ RSP_FTICKS_REPORTING_NONE = 0, /* Default. */
+ RSP_FTICKS_REPORTING_BASIC,
+ RSP_FTICKS_REPORTING_FULL
+};
+
+enum rsp_fticks_mac_type {
+ RSP_FTICKS_MAC_STATIC = 0, /* Default. */
+ RSP_FTICKS_MAC_ORIGINAL,
+ RSP_FTICKS_MAC_VENDOR_HASHED,
+ RSP_FTICKS_MAC_VENDOR_KEY_HASHED,
+ RSP_FTICKS_MAC_FULLY_HASHED,
+ RSP_FTICKS_MAC_FULLY_KEY_HASHED
+};
+
struct options {
char *logdestination;
char *ttlattr;
@@ -40,6 +55,9 @@ struct options {
uint8_t addttl;
uint8_t loglevel;
uint8_t loopprevention;
+ enum rsp_fticks_reporting_type fticks_reporting;
+ enum rsp_fticks_mac_type fticks_mac;
+ char *fticks_key;
};
struct commonprotoopts {