Lines Matching refs:hport
52 int start_stunnel(int stunnel_port, int x11vnc_port, int hport, int x11vnc_hport);
90 int start_stunnel(int stunnel_port, int x11vnc_port, int hport, int x11vnc_hport) { in start_stunnel() argument
322 if (hport > 0 && x11vnc_hport > 0) { in start_stunnel()
324 fprintf(in, "accept = %s%d\n", st_if, hport); in start_stunnel()
394 int i, xport = 0, hport = 0, xhport = 0; in setup_stunnel() local
420 hport = https_port_num; in setup_stunnel()
423 if (! hport && argc && argv) { in setup_stunnel()
427 hport = atoi(argv[i+1]); in setup_stunnel()
433 if (! hport && http_try_it) { in setup_stunnel()
434 hport = find_free_port(rport-100, rport-1); in setup_stunnel()
435 if (! hport) { in setup_stunnel()
439 if (hport) { in setup_stunnel()
444 stunnel_http_port = hport; in setup_stunnel()
448 if (start_stunnel(rport, xport, hport, xhport)) { in setup_stunnel()