struct io_t udp;
sockaddr_t sa;
sockaddr_t broadcast_sa;
- bool bindto;
} listen_socket_t;
typedef enum proxytype_t {
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;
bool default_blacklist;
bool discovery; // Whether Catta is enabled or not
-
+ bool inviter_commits_first;
// Configuration
char *confbase;
FILE *lockfile;
void *config_key;
+ char *external_address_url;
+ struct list_t *invitation_addresses;
// Thread management
pthread_t thread;
}
/// Fudge value of ~0.1 seconds, in microseconds.
-static const unsigned int TIMER_FUDGE = 0x20000;
+static const unsigned int TIMER_FUDGE = 0x8000000;
#endif