blob: fbd0c7709d6043f7c9f9667ea476658f075ad355 (
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 tcp_init_server(struct tsnif_handle *h, struct tsnif_np_args *args)
{
return 0;
}
int tcp_init_client(struct tsnif_handle *h, struct tsnif_np_args *args)
{
return 0;
}
int tcp_close(struct tsnif_handle *h)
{
return 0;
}
int tcp_send(struct tsnif_handle *h, struct trans_msg *msg)
{
return 0;
}
int tcp_process(struct tsnif_handle *h)
{
return 0;
}
struct tsnif_np_prot tcp_prot = {
.init_server = tcp_init_server,
.init_client = tcp_init_client,
.close = tcp_close,
.send = tcp_send,
.process = tcp_process,
};
|