/external/netperf/ |
H A D | netserver.c | 153 char listen_port[10]; variable 829 strncpy(listen_port,TEST_PORT,sizeof(listen_port)); 875 strncpy(listen_port,optarg,sizeof(listen_port)); 972 set_up_server(local_host_name,listen_port,local_address_family); 987 strncpy(listen_port,TEST_PORT,sizeof(listen_port)); 988 set_up_server(local_host_name,listen_port,local_address_family); 996 strncpy(listen_port,TEST_POR [all...] |
/external/libvncserver/x11vnc/misc/ |
H A D | inet6to4 | 196 my $listen_port = shift; # ipv6-listen-port 199 die "no listen port or connect-to-host:port\n" if ! $listen_port || ! $connect_to; 219 if ($listen_port =~ /^(.*):(\d+)$/) { 221 $listen_port = $2; 223 $opts{LocalPort} = $listen_port; 261 if ($client && !$reverse && $port == $listen_port) {
|
H A D | connect_switch | 226 my $listen_port = 443; 235 $listen_port = ''; 237 ($listen_host, $listen_port) = ($1, $2); 268 #$listen_port = 555; # and/or nonstandard port. 379 LocalPort => $listen_port, 391 LocalPort => $listen_port,
|
/external/libvncserver/VisualNaCro/ |
H A D | recorder.pl | 9 $listen_port=5923; 17 "listen:i" => \$listen_port, 23 print STDERR "Usage: $ARGV0 [--script output_name] [--listen listen_port] [--timing]\n\t[--symbolic] [--compact] [--compact-dragging] server[:port]\n"; 51 if($listen_port<100) { 52 $listen_port+=5900; 63 $vnc=nacro::initvnc($server,$port,$listen_port); 79 print OUT "\$vnc=nacro::initvnc(\"$server\",$port,$listen_port);\n";
|
H A D | nacro.c | 16 int listen_port; member in struct:private_resource_t 127 res->server->port=res->listen_port; 194 resource_t initvnc(const char* server,int server_port,int listen_port) argument 203 res->listen_port=listen_port;
|
/external/lldb/tools/debugserver/source/ |
H A D | debugserver.cpp | 688 StartListening (RNBRemote *remote, const char *listen_host, int listen_port, const char *unix_socket_name) argument 692 if (listen_port != 0) 693 RNBLogSTDOUT ("Listening to port %i for a connection from %s...\n", listen_port, listen_host ? listen_host : "localhost"); 694 if (remote->Comm().Listen(listen_host, listen_port, PortWasBoundCallback, unix_socket_name) != rnb_success) 1154 int listen_port = INT32_MAX; local 1167 int items_scanned = ::sscanf (argv[0], "%[^:]:%i", str, &listen_port); 1171 DNBLogDebug("host = '%s' port = %i", listen_host.c_str(), listen_port); 1176 int items_scanned = ::sscanf (argv[0], "%i", &listen_port); 1180 DNBLogDebug("host = '%s' port = %i", listen_host.c_str(), listen_port); 1184 listen_port [all...] |
/external/lldb/source/Core/ |
H A D | ConnectionFileDescriptor.cpp | 191 unsigned long listen_port = ::strtoul(s + strlen("listen://"), &end, 0); local 192 return SocketListen (listen_port, error_ptr); 1208 int listen_port = ::socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); 1209 if (listen_port == -1) 1217 SetSocketOption (listen_port, SOL_SOCKET, SO_REUSEADDR, 1); 1222 int err = ::bind (listen_port, localhost, localhost.GetLength()); 1227 Close (listen_port, NULL); 1231 err = ::listen (listen_port, 1); 1236 Close (listen_port, NULL); 1240 m_fd_send = m_fd_recv = ::accept (listen_port, NUL [all...] |
/external/libvncserver/x11vnc/ |
H A D | enc.h | 352 int fd, len = 0, listen_port = 0, connect_port, mbits; local 501 listen_port = atoi(lport); 608 enc_connections(listen_port, connect_host, connect_port); 1669 static void enc_connections(int listen_port, char *connect_host, int connect_port) { argument 1678 if (listen_port == 0) { 1695 if (listen_port < 0) { 1698 client.sin_port = htons(-listen_port); 1701 client.sin_port = htons(listen_port); 1766 if (listen_port < 0) { 1768 sin.sin6_port = htons(-listen_port); [all...] |
/external/openssh/ |
H A D | misc.h | 21 int listen_port; /* Port to forward. */ member in struct:Forward
|
H A D | channels.c | 123 int listen_port; /* Remote side should listen port. */ member in struct:__anon12989 2835 snprintf(strport, sizeof strport, "%d", fwd->listen_port); 2866 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 && 2909 * fwd->listen_port == 0 requests a dynamically allocated port - 2912 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 && 2927 if (fwd->listen_port == 0 && allocated_listen_port != NULL && 2931 c->listening_port = fwd->listen_port; 2936 fwd->listen_port); 3063 return channel_cancel_rport_listener_tcpip(fwd->listen_host, fwd->listen_port); 3134 return channel_cancel_lport_listener_tcpip(fwd->listen_host, fwd->listen_port, cpor 3741 channel_connect_by_listen_address(const char *listen_host, u_short listen_port, char *ctype, char *rname) argument [all...] |
H A D | mux.c | 527 fwd->listen_host, fwd->listen_port, 535 fwd->listen_host, fwd->listen_port); 542 fwd->listen_port, 569 if (a->listen_port != b->listen_port) 603 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : 606 if (rfwd->listen_port == 0) { 622 if (rfwd->listen_port == 0) 629 "listen port %d", rfwd->listen_port); 677 fwd.listen_port [all...] |
H A D | readconf.c | 294 if (newfwd->listen_port < IPPORT_RESERVED && original_real_uid != 0 && 304 fwd->listen_port = newfwd->listen_port; 327 fwd->listen_port = newfwd->listen_port; 1987 fwd->listen_port = PORT_STREAMLOCAL; 1990 fwd->listen_port = a2port(fwdargs[0].arg); 1998 fwd->listen_port = PORT_STREAMLOCAL; 2003 fwd->listen_port = a2port(fwdargs[0].arg); 2008 fwd->listen_port [all...] |
H A D | serverloop.c | 1245 fwd.listen_port = (u_short)packet_get_int(); 1247 fwd.listen_host, fwd.listen_port); 1252 (!want_reply && fwd.listen_port == 0) 1254 || (fwd.listen_port != 0 && fwd.listen_port < IPPORT_RESERVED && 1275 fwd.listen_port = (u_short)packet_get_int(); 1277 fwd.listen_host, fwd.listen_port);
|
H A D | ssh.c | 767 stdio_forward_port = fwd.listen_port; 1439 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : 1441 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) { 1461 "for listen port %d", rfwd->listen_port); 1468 "for listen port %d", rfwd->listen_port); 1530 options.local_forwards[i].listen_port, 1551 options.remote_forwards[i].listen_port,
|
H A D | clientloop.c | 1837 u_short listen_port, originator_port; local 1841 listen_port = packet_get_int(); 1847 listen_address, listen_port, originator_address, originator_port); 1849 c = channel_connect_by_listen_address(listen_address, listen_port,
|