+/* General definitions */
+
+/* SILC port */
+#define SILC_PORT 706
+
+/* Server and router. Used internally by the code. */
+#define SILC_SERVER 0
+#define SILC_ROUTER 1
+#define SILC_BACKUP_ROUTER 2
+
+/* Default parameter values */
+
+/* Connection retry timeout. We implement exponential backoff algorithm
+ in connection retry. The interval of timeout grows when retry count
+ grows. */
+#define SILC_SERVER_RETRY_COUNT 7 /* Max retry count */
+#define SILC_SERVER_RETRY_MULTIPLIER 2 /* Interval growth */
+#define SILC_SERVER_RETRY_RANDOMIZER 2 /* timeout += rnd % 2 */
+#define SILC_SERVER_RETRY_INTERVAL_MIN 10 /* Min retry timeout */
+#define SILC_SERVER_RETRY_INTERVAL_MAX 600 /* Max generated timeout */
+
+#define SILC_SERVER_KEEPALIVE 300 /* Heartbeat interval */
+#define SILC_SERVER_CHANNEL_REKEY 3600 /* Channel rekey interval */
+#define SILC_SERVER_REKEY 3600 /* Session rekey interval */
+#define SILC_SERVER_SKE_TIMEOUT 60 /* SKE timeout */
+#define SILC_SERVER_CONNAUTH_TIMEOUT 60 /* CONN_AUTH timeout */
+#define SILC_SERVER_MAX_CONNECTIONS 1000 /* Max connections */
+#define SILC_SERVER_MAX_CONNECTIONS_SINGLE 1000 /* Max connections per host */
+#define SILC_SERVER_LOG_FLUSH_DELAY 300 /* Default log flush delay */
+#define SILC_SERVER_QOS_RATE_LIMIT 10 /* Default QoS rate limit */
+#define SILC_SERVER_QOS_BYTES_LIMIT 2048 /* Default QoS bytes limit */
+#define SILC_SERVER_QOS_LIMIT_SEC 0 /* Default QoS limit sec */
+#define SILC_SERVER_QOS_LIMIT_USEC 500000 /* Default QoS limit usec */
+