Importing all of DRL, including ulogd and all of its files.
[distributedratelimiting.git] / drl / peer_comm.h
diff --git a/drl/peer_comm.h b/drl/peer_comm.h
new file mode 100644 (file)
index 0000000..c8fd2e1
--- /dev/null
@@ -0,0 +1,21 @@
+/* See the DRL-LICENSE file for this file's software license. */
+
+#ifndef _PEER_COMM_H_
+#define _PEER_COMM_H_
+
+void limiter_receive();
+
+#if 0
+void *limiter_accept_thread(void *limiter);
+
+void *ident_receive_thread(void *limiter);
+#endif
+
+int send_udp_mesh(comm_t *comm, uint32_t id, int sock);
+int send_udp_gossip(comm_t *comm, uint32_t id, int sock);
+
+#if 0
+int send_tcp_gossip(comm_ident_t *ident, FILE *logfile, int unused);
+#endif
+
+#endif