meshlink_handle_t *mesh = data;
struct timespec t, tmin = {3600, 0};
+#ifdef HAVE_SENDMMSG
+ flush_mmsg(mesh);
+#endif
+
for splay_each(node_t, n, mesh->nodes) {
if(!n->utcp) {
continue;
return false;
}
+#if defined(HAVE_RECVMMSG) || defined(HAVE_SENDMMSG)
init_mmsg(mesh);
+#endif
init_outgoings(mesh);
init_adns(mesh);
exit_adns(mesh);
exit_outgoings(mesh);
+#if defined(HAVE_RECVMMSG) || defined(HAVE_SENDMMSG)
exit_mmsg(mesh);
+#endif
// Ensure we are considered unreachable
if(mesh->nodes) {