/external/netperf/ |
D | netserver.c | 153 char listen_port[10]; variable 829 strncpy(listen_port,TEST_PORT,sizeof(listen_port)); in main() 875 strncpy(listen_port,optarg,sizeof(listen_port)); in main() 972 set_up_server(local_host_name,listen_port,local_address_family); in main() 987 strncpy(listen_port,TEST_PORT,sizeof(listen_port)); in main() 988 set_up_server(local_host_name,listen_port,local_address_family); in main() 996 strncpy(listen_port,TEST_PORT,sizeof(listen_port)); in main() 997 set_up_server(local_host_name,listen_port,local_address_family); in main()
|
/external/libvncserver/x11vnc/misc/ |
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) {
|
D | connect_switch | 226 my $listen_port = 443; 235 $listen_port = ''; 237 ($listen_host, $listen_port) = ($1, $2); 391 LocalPort => $listen_port,
|
/external/libvncserver/VisualNaCro/ |
D | recorder.pl | 9 $listen_port=5923; 17 "listen:i" => \$listen_port, 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";
|
D | nacro.c | 16 int listen_port; member 127 res->server->port=res->listen_port; in malloc_frame_buffer() 194 resource_t initvnc(const char* server,int server_port,int listen_port) in initvnc() argument 203 res->listen_port=listen_port; in initvnc()
|
/external/lldb/tools/debugserver/source/ |
D | debugserver.cpp | 688 StartListening (RNBRemote *remote, const char *listen_host, int listen_port, const char *unix_socke… in StartListening() argument 692 if (listen_port != 0) in StartListening() 693 …RNBLogSTDOUT ("Listening to port %i for a connection from %s...\n", listen_port, listen_host ? lis… in StartListening() 694 …if (remote->Comm().Listen(listen_host, listen_port, PortWasBoundCallback, unix_socket_name) != rnb… in StartListening() 1154 int listen_port = INT32_MAX; in main() local 1167 int items_scanned = ::sscanf (argv[0], "%[^:]:%i", str, &listen_port); in main() 1171 DNBLogDebug("host = '%s' port = %i", listen_host.c_str(), listen_port); in main() 1176 int items_scanned = ::sscanf (argv[0], "%i", &listen_port); in main() 1180 DNBLogDebug("host = '%s' port = %i", listen_host.c_str(), listen_port); in main() 1184 listen_port = INT32_MAX; in main() [all …]
|
/external/lldb/source/Core/ |
D | ConnectionFileDescriptor.cpp | 191 unsigned long listen_port = ::strtoul(s + strlen("listen://"), &end, 0); in Connect() local 192 return SocketListen (listen_port, error_ptr); in Connect() 1208 int listen_port = ::socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); in SocketListen() local 1209 if (listen_port == -1) in SocketListen() 1217 SetSocketOption (listen_port, SOL_SOCKET, SO_REUSEADDR, 1); in SocketListen() 1222 int err = ::bind (listen_port, localhost, localhost.GetLength()); in SocketListen() 1227 Close (listen_port, NULL); in SocketListen() 1231 err = ::listen (listen_port, 1); in SocketListen() 1236 Close (listen_port, NULL); in SocketListen() 1240 m_fd_send = m_fd_recv = ::accept (listen_port, NULL, 0); in SocketListen() [all …]
|
/external/openssh/ |
D | mux.c | 527 fwd->listen_host, fwd->listen_port, in format_forward() 535 fwd->listen_host, fwd->listen_port); in format_forward() 542 fwd->listen_port, in format_forward() 569 if (a->listen_port != b->listen_port) in compare_forward() 603 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : in mux_confirm_remote_forward() 606 if (rfwd->listen_port == 0) { in mux_confirm_remote_forward() 622 if (rfwd->listen_port == 0) in mux_confirm_remote_forward() 629 "listen port %d", rfwd->listen_port); in mux_confirm_remote_forward() 677 fwd.listen_port = lport; in process_mux_open_fwd() 678 if (fwd.listen_port == PORT_STREAMLOCAL) in process_mux_open_fwd() [all …]
|
D | readconf.c | 294 if (newfwd->listen_port < IPPORT_RESERVED && original_real_uid != 0 && in add_local_forward() 304 fwd->listen_port = newfwd->listen_port; in add_local_forward() 327 fwd->listen_port = newfwd->listen_port; in add_remote_forward() 1987 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 1990 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward() 1998 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 2003 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward() 2008 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward() 2016 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 2021 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward() [all …]
|
D | channels.c | 123 int listen_port; /* Remote side should listen port. */ member 2835 snprintf(strport, sizeof strport, "%d", fwd->listen_port); 2866 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 && 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, cport, fwd_opts); 3208 packet_put_int(fwd->listen_port); [all …]
|
D | serverloop.c | 1245 fwd.listen_port = (u_short)packet_get_int(); in server_input_global_request() 1247 fwd.listen_host, fwd.listen_port); in server_input_global_request() 1252 (!want_reply && fwd.listen_port == 0) in server_input_global_request() 1254 || (fwd.listen_port != 0 && fwd.listen_port < IPPORT_RESERVED && in server_input_global_request() 1275 fwd.listen_port = (u_short)packet_get_int(); in server_input_global_request() 1277 fwd.listen_host, fwd.listen_port); in server_input_global_request()
|
D | misc.h | 21 int listen_port; /* Port to forward. */ member
|
D | ssh.c | 767 stdio_forward_port = fwd.listen_port; in main() 1439 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : in ssh_confirm_remote_forward() 1441 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) { in ssh_confirm_remote_forward() 1461 "for listen port %d", rfwd->listen_port); in ssh_confirm_remote_forward() 1468 "for listen port %d", rfwd->listen_port); in ssh_confirm_remote_forward() 1530 options.local_forwards[i].listen_port, in ssh_init_forwarding() 1551 options.remote_forwards[i].listen_port, in ssh_init_forwarding()
|
D | clientloop.c | 1837 u_short listen_port, originator_port; in client_request_forwarded_tcpip() local 1841 listen_port = packet_get_int(); in client_request_forwarded_tcpip() 1847 listen_address, listen_port, originator_address, originator_port); in client_request_forwarded_tcpip() 1849 c = channel_connect_by_listen_address(listen_address, listen_port, in client_request_forwarded_tcpip()
|
/external/libvncserver/x11vnc/ |
D | enc.h | 352 int fd, len = 0, listen_port = 0, connect_port, mbits; in enc_do() local 501 listen_port = atoi(lport); in enc_do() 608 enc_connections(listen_port, connect_host, connect_port); in enc_do() 1669 static void enc_connections(int listen_port, char *connect_host, int connect_port) { in enc_connections() argument 1678 if (listen_port == 0) { in enc_connections() 1695 if (listen_port < 0) { in enc_connections() 1698 client.sin_port = htons(-listen_port); in enc_connections() 1701 client.sin_port = htons(listen_port); in enc_connections() 1766 if (listen_port < 0) { in enc_connections() 1768 sin.sin6_port = htons(-listen_port); in enc_connections() [all …]
|