struct connection_t *connection;
struct outgoing_t *outgoing;
- int connection_burst;
int contradicting_add_edge;
int contradicting_del_edge;
int sleeptime;
- time_t connection_burst_time;
- time_t last_hard_try;
time_t last_unreachable;
timeout_t pingtimer;
timeout_t periodictimer;
uint64_t prng_state[4];
uint32_t session_id;
- int next_pit;
- int pits[10];
-
// Infrequently used callbacks
meshlink_node_status_cb_t node_status_cb;
meshlink_node_status_cb_t meta_status_cb;
- meshlink_node_pmtu_cb_t node_pmtu_cb;
meshlink_channel_listen_cb_t channel_listen_cb;
meshlink_channel_accept_cb_t channel_accept_cb;
meshlink_node_duplicate_cb_t node_duplicate_cb;
void meshlink_send_from_queue(event_loop_t *loop, void *mesh);
void update_node_status(meshlink_handle_t *mesh, struct node_t *n);
-void update_node_pmtu(meshlink_handle_t *mesh, struct node_t *n);
extern meshlink_log_level_t global_log_level;
extern meshlink_log_cb_t global_log_cb;
void handle_duplicate_node(meshlink_handle_t *mesh, struct node_t *n);