1
0
mirror of https://github.com/clearml/dropbear synced 2025-04-18 21:24:58 +00:00
dropbear/tcp-accept.h
Matt Johnston a712baa8e5 just checkpointing
--HG--
extra : convert_revision : fbbf404290f3fea3dfa9f6f53eba9389057e9044
2004-08-10 17:09:52 +00:00

20 lines
392 B
C

#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 */