summaryrefslogtreecommitdiff
path: root/src/ot_udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ot_udp.h')
-rw-r--r--src/ot_udp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ot_udp.h b/src/ot_udp.h
new file mode 100644
index 0000000..2710744
--- /dev/null
+++ b/src/ot_udp.h
@@ -0,0 +1,17 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. */
3
4#ifndef OT_UDP_H__
5#define OT_UDP_H__
6
7#include <stdint.h>
8
9#include "trackerlogic.h"
10
11void udp_init(void);
12/* One thread reading one socket. Called once per worker. */
13void udp_worker_install(int64_t sock);
14
15int handle_udp6(int64_t serversocket, struct ot_workstruct *ws);
16
17#endif