aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/daemon.h')
-rw-r--r--Source/charon/daemon.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/charon/daemon.h b/Source/charon/daemon.h
index 98d366ce9..b0591d8bd 100644
--- a/Source/charon/daemon.h
+++ b/Source/charon/daemon.h
@@ -29,6 +29,7 @@
#include <threads/receiver.h>
#include <threads/scheduler.h>
#include <threads/thread_pool.h>
+#include <threads/prime_pool.h>
#include <sa/ike_sa_manager.h>
#include <queues/send_queue.h>
#include <queues/job_queue.h>
@@ -54,7 +55,7 @@
* Port on which the daemon will
* listen for incoming traffic.
*/
-#define IKEV2_UDP_PORT 500
+#define IKEV2_UDP_PORT 4500
/**
* First retransmit timeout in milliseconds.
@@ -129,6 +130,11 @@ struct daemon_t {
thread_pool_t *thread_pool;
/**
+ * Low-priority thread which generates primes
+ */
+ prime_pool_t *prime_pool;
+
+ /**
* @brief shut down the daemon
*
* @param this the daemon to kill