summaryrefslogtreecommitdiff
path: root/ot_udp.h
blob: 2710744daf67ef24b268c783ae9096cb8303eff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
   It is considered beerware. Prost. Skol. Cheers or whatever. */

#ifndef OT_UDP_H__
#define OT_UDP_H__

#include <stdint.h>

#include "trackerlogic.h"

void udp_init(void);
/* One thread reading one socket. Called once per worker. */
void udp_worker_install(int64_t sock);

int  handle_udp6(int64_t serversocket, struct ot_workstruct *ws);

#endif