struct node_t *self;
meshlink_log_cb_t log_cb;
meshlink_log_level_t log_level;
+ void *packet;
// The most important network-related members come first
int reachable;
int contradicting_del_edge;
int sleeptime;
time_t connection_burst_time;
- time_t last_config_check;
time_t last_hard_try;
time_t last_unreachable;
timeout_t pingtimer;
char *catta_servicetype;
unsigned int catta_interfaces;
+ // ADNS
+ pthread_t adns_thread;
+ pthread_cond_t adns_cond;
+ meshlink_queue_t adns_queue;
+ meshlink_queue_t adns_done_queue;
+ signal_t adns_signal;
+
// Proxy configuration, currently not exposed.
char *proxyhost;
char *proxyport;
}
/// Fudge value of ~0.1 seconds, in microseconds.
-static const unsigned int TIMER_FUDGE = 0x20000;
+static const unsigned int TIMER_FUDGE = 0x8000000;
#endif