Lines Matching refs:tcpinfo
144 struct TCPListener tcpinfo; in svr_cancelremotetcp() local
156 tcpinfo.sendaddr = NULL; in svr_cancelremotetcp()
157 tcpinfo.sendport = 0; in svr_cancelremotetcp()
158 tcpinfo.listenaddr = bindaddr; in svr_cancelremotetcp()
159 tcpinfo.listenport = port; in svr_cancelremotetcp()
160 listener = get_listener(CHANNEL_ID_TCPFORWARDED, &tcpinfo, matchtcp); in svr_cancelremotetcp()
177 struct TCPListener *tcpinfo = NULL; in svr_remotetcpreq() local
205 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener)); in svr_remotetcpreq()
206 tcpinfo->sendaddr = NULL; in svr_remotetcpreq()
207 tcpinfo->sendport = 0; in svr_remotetcpreq()
208 tcpinfo->listenaddr = bindaddr; in svr_remotetcpreq()
209 tcpinfo->listenport = port; in svr_remotetcpreq()
210 tcpinfo->chantype = &svr_chan_tcpremote; in svr_remotetcpreq()
211 tcpinfo->tcp_type = forwarded; in svr_remotetcpreq()
213 ret = listen_tcpfwd(tcpinfo); in svr_remotetcpreq()
220 m_free(tcpinfo); in svr_remotetcpreq()