aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-03-28 13:34:02 +0000
committerMartin Willi <martin@strongswan.org>2007-03-28 13:34:02 +0000
commit4deb89485c1f2ad64eb1e9f834d792191138a266 (patch)
tree47ca968ab2a9259ec0d61ac4702e43265157028b /src/charon/daemon.h
parent077a6fff9584dc6b321ac267b4f8b1afc5d9a5bf (diff)
downloadstrongswan-4deb89485c1f2ad64eb1e9f834d792191138a266.tar.bz2
strongswan-4deb89485c1f2ad64eb1e9f834d792191138a266.tar.xz
removed send_queue, handled internally in sender_t know
do header parsing in receiver, ready for cookie integration
Diffstat (limited to 'src/charon/daemon.h')
-rw-r--r--src/charon/daemon.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/charon/daemon.h b/src/charon/daemon.h
index b0b191b6c..420262474 100644
--- a/src/charon/daemon.h
+++ b/src/charon/daemon.h
@@ -40,7 +40,6 @@ typedef struct daemon_t daemon_t;
#include <bus/listeners/file_logger.h>
#include <bus/listeners/sys_logger.h>
#include <sa/ike_sa_manager.h>
-#include <queues/send_queue.h>
#include <queues/job_queue.h>
#include <queues/event_queue.h>
#include <config/configuration.h>
@@ -75,14 +74,8 @@ typedef struct daemon_t daemon_t;
| | - u | | Pool | | |
+----+-------+ | e |------| |---| |
| sender | +------+ +------------+ +------+
- +----+-------+
- | +------+
- | | S Q |
- | | e u |
- | | n e |
- +------------| d u |
- | - e |
- +--+---+
+ +------------+
+
@endverbatim
* The thread-pool is the heart of the architecture. It processes jobs from a
* (fully synchronized) job-queue. Mostly, a job is associated with a specific
@@ -94,7 +87,7 @@ typedef struct daemon_t daemon_t;
* (fully synchronized) event-queue is ready for processing and pushes the event
* down to the job-queue. A thread form the pool will pick it up as quick as
* possible. Every thread can queue events or jobs. Furter, an event can place a
- * packet in the send-queue. The sender thread waits for those packets and sends
+ * packet in the sender. The sender thread waits for those packets and sends
* them over the wire, via the socket. The receiver does exactly the opposite of
* the sender. It waits on the socket, reads in packets an places them on the
* job-queue for further processing by a thread from the pool.
@@ -309,11 +302,6 @@ struct daemon_t {
socket_t *socket;
/**
- * A send_queue_t instance.
- */
- send_queue_t *send_queue;
-
- /**
* A job_queue_t instance.
*/
job_queue_t *job_queue;