+
+ if (peer)
+ peer_send_data(peer, buff, (p-buff));
+ else
+ cluster_send_data(buff, (p-buff) );
+}
+
+void cluster_send_ping(time_t basetime)
+{
+ LOG(5, 0, 0, "Sending cluster ping...\n");
+ send_ping(0, basetime);
+}
+
+static void peer_send_ping(in_addr_t peer, time_t basetime)
+{
+ LOG(5, 0, 0, "Sending unicast ping to %s...\n", fmtaddr(peer, 0));
+ send_ping(peer, basetime);