summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-05-03 20:00:20 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-05-03 20:00:20 +0200
commit6e39dfe32584e9edaa45d0df31765839dae219c5 (patch)
tree38760ff8eb30f12b6616c06cefebd77718e37376 /src/fastd.h
parent1519fd273496e412a3bad908313d5d60cc9f4f57 (diff)
downloadfastd-6e39dfe32584e9edaa45d0df31765839dae219c5.tar
fastd-6e39dfe32584e9edaa45d0df31765839dae219c5.zip
Use pipe to transmit resolved addresses to main threadv0.4-rc7
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 1de2e2d..6a503d8 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -101,10 +101,6 @@ union _fastd_peer_address {
};
struct _fastd_resolve_return {
- fastd_resolve_return *next;
-
- fastd_context *ctx;
-
char *hostname;
fastd_peer_address constraints;
@@ -173,6 +169,9 @@ struct _fastd_context {
fastd_peer *peers;
fastd_queue task_queue;
+ int resolverfd;
+ int resolvewfd;
+
int tunfd;
int sockfd;
int sock6fd;
@@ -184,8 +183,6 @@ struct _fastd_context {
unsigned int randseed;
fastd_protocol_state *protocol_state;
-
- fastd_resolve_return *resolve_returns;
};
struct _fastd_string_stack {