diff tcp-accept.h @ 62:20563735e8b5

just checkpointing
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 Aug 2004 17:09:52 +0000
parents
children dcc43965928f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tcp-accept.h	Tue Aug 10 17:09:52 2004 +0000
@@ -0,0 +1,19 @@
+#ifndef _REMOTETCPFWD_H
+#define _REMOTETCPFWD_H
+
+struct TCPListener {
+
+	/* Local ones */
+	unsigned char *localaddr; /* Can be NULL */
+	unsigned int localport;
+	/* Remote ones: */
+	unsigned char *remoteaddr;
+	unsigned int remoteport;
+	const struct ChanType *chantype;
+
+};
+
+void recv_msg_global_request_remotetcp();
+int listen_tcpfwd(struct TCPListener* tcpinfo);
+
+#endif /* _REMOTETCPFWD_H */