Mercurial > dropbear
annotate 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 |
rev | line source |
---|---|
62 | 1 #ifndef _REMOTETCPFWD_H |
2 #define _REMOTETCPFWD_H | |
3 | |
4 struct TCPListener { | |
5 | |
6 /* Local ones */ | |
7 unsigned char *localaddr; /* Can be NULL */ | |
8 unsigned int localport; | |
9 /* Remote ones: */ | |
10 unsigned char *remoteaddr; | |
11 unsigned int remoteport; | |
12 const struct ChanType *chantype; | |
13 | |
14 }; | |
15 | |
16 void recv_msg_global_request_remotetcp(); | |
17 int listen_tcpfwd(struct TCPListener* tcpinfo); | |
18 | |
19 #endif /* _REMOTETCPFWD_H */ |