c8fd2e15fe46e9e30e7aa3ed1765b3f1332aba16
[distributedratelimiting.git] / drl / peer_comm.h
1 /* See the DRL-LICENSE file for this file's software license. */
2
3 #ifndef _PEER_COMM_H_
4 #define _PEER_COMM_H_
5
6 void limiter_receive();
7
8 #if 0
9 void *limiter_accept_thread(void *limiter);
10
11 void *ident_receive_thread(void *limiter);
12 #endif
13
14 int send_udp_mesh(comm_t *comm, uint32_t id, int sock);
15 int send_udp_gossip(comm_t *comm, uint32_t id, int sock);
16
17 #if 0
18 int send_tcp_gossip(comm_ident_t *ident, FILE *logfile, int unused);
19 #endif
20
21 #endif