From f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 25 May 2014 00:20:05 +0200 Subject: Make a few struct fields that are not supposed to be changed defines instead --- src/fastd.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/fastd.h') 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; -- cgit v1.2.3