Home
last modified time | relevance | path

Searched refs:rport (Results 1 – 10 of 10) sorted by relevance

/external/libvncserver/x11vnc/misc/
Drx11vnc.pl118 foreach $rport (@tunnel_ports) {
124 $port_map{$rport} = $lport;
129 foreach $rport (@tunnel_ports) {
130 $redir .= " -L $port_map{$rport}:localhost:$rport";
157 $rport = '';
164 $rport = $1;
168 $rport = $1;
175 if (! $rport) {
183 $lport = $port_map{$rport};
184 print STDERR "remote port is: $rport (corresponds to port $lport here)\n";
/external/toybox/toys/pending/
Dnetstat.c164 static void display_data(unsigned rport, char *label, unsigned rxq, unsigned txq, char *lip, char *… in display_data() argument
191 static void show_data(unsigned rport, char *label, unsigned rxq, unsigned txq, char *lip, char *rip… in show_data() argument
194 if (!rport && (state && 0xA)) display_data(rport, label, rxq, txq, lip, rip, state, inode); in show_data()
195 } else if (toys.optflags & FLAG_a) display_data(rport, label, rxq, txq, lip, rip, state, inode); in show_data()
197 …else if (rport && (0x10 | 0x20 | 0x40)) display_data(rport, label, rxq, txq, lip, rip, state, inod… in show_data()
275 unsigned lport, rport, state, txq, rxq, num, uid; in show_ipv4() local
279 &num, &laddr.u, &lport, &raddr.u, &rport, &state, &txq, &rxq, &uid, &inode); in show_ipv4()
282 addr2str(AF_INET, &raddr, rport, rip, label); in show_ipv4()
283 show_data(rport, label, rxq, txq, lip, rip, state, inode); in show_ipv4()
302 unsigned lport, rport, state, txq, rxq, num, uid; in show_ipv6() local
[all …]
/external/libvncserver/x11vnc/
Dsslcmds.c54 void setup_stunnel(int rport, int *argc, char **argv);
393 void setup_stunnel(int rport, int *argc, char **argv) { in setup_stunnel() argument
396 if (! rport && argc && argv) { in setup_stunnel()
400 rport = atoi(argv[i+1]); in setup_stunnel()
406 if (! rport) { in setup_stunnel()
408 rport = find_free_port(5900, 5999); in setup_stunnel()
409 if (! rport) { in setup_stunnel()
434 hport = find_free_port(rport-100, rport-1); in setup_stunnel()
448 if (start_stunnel(rport, xport, hport, xhport)) { in setup_stunnel()
472 stunnel_port = rport; in setup_stunnel()
Dinet.c337 int rport = get_remote_port(client->sock); in ident_username() local
340 sprintf(msg, "%d, %d\r\n", rport, lport); in ident_username()
453 char *rhost, *rport, *lhost, *lport; in have_ssh_env() local
478 rport = p; in have_ssh_env()
490 if (0) fprintf(stderr, "%d/%d - '%s' '%s'\n", atoi(rport), atoi(lport), rhost, lhost); in have_ssh_env()
492 if (atoi(rport) <= 16 || atoi(rport) > 65535) { in have_ssh_env()
Dsslcmds.h41 extern void setup_stunnel(int rport, int *argc, char **argv);
Dconnections.c2631 int rport = 5500, len = strlen(str); in do_reverse_connect() local
2676 rport = atoi(p+1); in do_reverse_connect()
2677 if (rport < 0) { in do_reverse_connect()
2678 rport = -rport; in do_reverse_connect()
2679 } else if (rport < 20) { in do_reverse_connect()
2680 rport = 5500 + rport; in do_reverse_connect()
2693 vncsock = proxy_connect(host, rport); in do_reverse_connect()
2695 vncsock = connect_tcp(host, rport); in do_reverse_connect()
2768 int sock = proxy_connect(host, rport); in do_reverse_connect()
2780 int sock = connect_tcp(host, rport); in do_reverse_connect()
[all …]
Dx11vnc.c863 int rc, len, rport; in ssh_remote_tunnel() local
901 rport = disp + 5900; in ssh_remote_tunnel()
903 rport = -disp; in ssh_remote_tunnel()
905 rport = disp; in ssh_remote_tunnel()
909 …sprintf(cmd, "%s -f -p %d -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, sport, rport, lport, s, slee… in ssh_remote_tunnel()
911 …sprintf(cmd, "%s -f -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, rport, lport, s, slee… in ssh_remote_tunnel()
952 …:localhost:%d.*%s.*sleep *%d' | grep -v grep | awk '{print $2}'", ps, ssh, rport, lport, s, sleep); in ssh_remote_tunnel()
DREADME15079 via a SSH tunnel using the -R rport:localhost:lport
15081 so a connection to rport (5900+disp) on "host"
15091 listen only on localhost for rport, so the viewer may
15094 listening on all interfaces for rport; viewers can
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/Windows/util/
Dconnect_br.tcl1229 set rport ""
1230 if [regexp {^(.*):([0-9][0-9]*)$} $env(SSVNC_REVERSE) mvar rhost rport] {
1238 set rc [catch {set lsock [socket $rhost $rport]}]
1243 set rc [catch {set lsock [socket $rhost $rport]}]
1249 set rc [catch {set lsock [socket $rhost $rport]}]
1256 puts stderr "SSVNC_REVERSE to $rhost $rport OK";
1257 bmesg "SSVNC_REVERSE to $rhost $rport OK";
1259 handle_connection $lsock $rhost $rport
/external/iproute2/misc/
Dss.c436 int rport; member
734 if (a->port != -1 && a->port != s->rport) in run_ssfilter()
764 return s->rport >= a->port; in run_ssfilter()
769 return s->rport <= a->port; in run_ssfilter()
1201 sscanf(rem, "%x:%x", s.remote.data, (unsigned*)&s.rport); in tcp_show_line()
1215 &s.rport); in tcp_show_line()
1247 formatted_print(&s.remote, s.rport); in tcp_show_line()
1433 s.rport = ntohs(r->id.idiag_dport); in tcp_show_sock()
1453 formatted_print(&s.remote, s.rport); in tcp_show_sock()
1809 sscanf(rem, "%x:%x", s.remote.data, (unsigned*)&s.rport); in dgram_show_line()
[all …]