diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
commit | f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 (patch) | |
tree | 0edd536548163077da4c22ce7785936a3f9c06a6 /src/fastd.h | |
parent | 1b21919d544e30cec89259cfa9353e10852cfc82 (diff) | |
download | fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.tar fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.zip |
Make a few struct fields that are not supposed to be changed defines instead
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/fastd.h b/src/fastd.h index 8726cd0..67174cf 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -159,27 +159,13 @@ struct fastd_handshake_timeout { struct timespec timeout; /**< Timeout until handshakes from this address are ignored */ }; + /** The static configuration of \em fastd */ struct fastd_config { fastd_loglevel_t log_stderr_level; /**< The minimum loglevel of messages to print to stderr (or -1 to not print any messages on stderr) */ fastd_loglevel_t log_syslog_level; /**< The minimum loglevel of messages to print to syslog (or -1 to not print any messages on syslog) */ char *log_syslog_ident; /**< The identification string for messages sent to syslog (default: "fastd") */ - unsigned maintenance_interval; - unsigned keepalive_timeout; - unsigned peer_stale_time; - unsigned eth_addr_stale_time; - - unsigned reorder_time; - - unsigned min_handshake_interval; - unsigned min_resolve_interval; - -#ifdef WITH_VERIFY - unsigned min_verify_interval; - unsigned verify_valid_time; -#endif - char *ifname; size_t n_bind_addrs; @@ -217,10 +203,6 @@ struct fastd_config { size_t min_decrypt_tail_space; char *secret; - unsigned key_valid; - unsigned key_valid_old; - unsigned key_refresh; - unsigned key_refresh_splay; const fastd_cipher_t **ciphers; const fastd_mac_t **macs; |