summaryrefslogtreecommitdiffstats
path: root/src/dht.c
blob: 629bf26a5b0311279a1b147eb7f4255b23a6c656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct dht {
	char id[20];
	int socket;
};
struct node {
	char id[20];
	int lost;
	int sent;
	int answers;
	int malformed;
	int received;
	time_t last;
	struct sockaddr addr;
};