summaryrefslogtreecommitdiffstats
path: root/src/net-proxy-udp.c
blob: 0aa7551cc6464d6b1c1e6e036f430527f4fcd031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "net-proxy.h"

int udp_init_server(struct tsnif_handle *h, struct tsnif_np_args *args)
{
	return 0;
}

int udp_init_client(struct tsnif_handle *h, struct tsnif_np_args *args)
{
	return 0;
}

int udp_close(struct tsnif_handle *h)
{
	return 0;
}

int udp_send(struct tsnif_handle *h, struct trans_msg *msg)
{
	return 0;
}

int udp_process(struct tsnif_handle *h)
{
	return 0;
}

struct tsnif_np_prot udp_prot = {
	.init_server = udp_init_server,
	.init_client = udp_init_client,
	.close       = udp_close,
	.send        = udp_send,
	.process     = udp_process,
};