diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-11-02 20:50:24 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-11-02 21:14:02 +0100 |
| commit | ad541c67761b8aa6da1566802c347cac4018d0c2 (patch) | |
| tree | a9166fa9d349911d69a6948e53b05344dcc348a0 /src/ot_udp.h | |
| parent | c679ff8a3b1418a5960cc49ba6458a0007df54fa (diff) | |
Move the build sources into src/
Diffstat (limited to 'src/ot_udp.h')
| -rw-r--r-- | src/ot_udp.h | 17 |
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 | |||
| 11 | void udp_init(void); | ||
| 12 | /* One thread reading one socket. Called once per worker. */ | ||
| 13 | void udp_worker_install(int64_t sock); | ||
| 14 | |||
| 15 | int handle_udp6(int64_t serversocket, struct ot_workstruct *ws); | ||
| 16 | |||
| 17 | #endif | ||
