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

   $id$ */

#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