summaryrefslogtreecommitdiffstats
path: root/src/net-proxy-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net-proxy-tcp.c')
-rw-r--r--src/net-proxy-tcp.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/net-proxy-tcp.c b/src/net-proxy-tcp.c
new file mode 100644
index 0000000..fbd0c77
--- /dev/null
+++ b/src/net-proxy-tcp.c
@@ -0,0 +1,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,
+};