Lines Matching refs:tcpinfo
91 struct TCPListener* tcpinfo = NULL;
97 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener));
99 tcpinfo->sendaddr = m_strdup(remoteaddr);
100 tcpinfo->sendport = remoteport;
103 tcpinfo->listenaddr = m_strdup("");
105 tcpinfo->listenaddr = m_strdup("localhost");
107 tcpinfo->listenport = listenport;
109 tcpinfo->chantype = &cli_chan_tcplocal;
110 tcpinfo->tcp_type = direct;
112 ret = listen_tcpfwd(tcpinfo);
115 m_free(tcpinfo);