Home
last modified time | relevance | path

Searched refs:server_port (Results 1 – 25 of 54) sorted by relevance

123

/third_party/openssl/test/recipes/
D80-test_cmp_http.t56 my $server_port;# The server's port
86 $server_port = $1 eq "" ? '""""' : $1 if m/^\s*server_port\s*=\s*(.*)?\s*$/;
102 || !defined $server_port || !defined $server_tls
132 $params = [ '-server', "127.0.0.1:$server_port", @$params ]
223 $line =~ s{_SERVER_PORT}{$server_port}g;
272 die "Invalid port: $server_port" unless $server_port =~ m/^\d+$/;
275 if ($server_port == 0) {
281 ($server_port, $pid) = ($1, $2) if /^ACCEPT\s.*:(\d+) PID=(\d+)$/;
285 unless ($server_port > 0) {
289 $server_tls = $kur_port = $pbm_port = $server_port;
/third_party/openssl/crypto/cmp/
Dcmp_http.c54 char server_port[32] = { '\0' }; in OSSL_CMP_MSG_http_perform() local
73 BIO_snprintf(server_port, sizeof(server_port), "%d", ctx->serverPort); in OSSL_CMP_MSG_http_perform()
77 ctx->server, server_port, tls_used ? " using TLS" : ""); in OSSL_CMP_MSG_http_perform()
79 rsp = OSSL_HTTP_transfer(&ctx->http_ctx, ctx->server, server_port, in OSSL_CMP_MSG_http_perform()
/third_party/libuv/test/
Dtest-getsockname.c29 static const int server_port = TEST_PORT; variable
133 check_sockname(&sockname, "127.0.0.1", server_port, "accepted socket"); in on_connection()
162 check_sockname(&peername, "127.0.0.1", server_port, "connected socket peer"); in on_connect()
175 ASSERT(0 == uv_ip4_addr("0.0.0.0", server_port, &addr)); in tcp_listener()
199 check_sockname(&sockname, "0.0.0.0", server_port, "server socket"); in tcp_listener()
216 ASSERT(0 == uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in tcp_connector()
277 ASSERT(0 == uv_ip4_addr("0.0.0.0", server_port, &addr)); in udp_listener()
295 check_sockname(&sockname, "0.0.0.0", server_port, "udp listener socket"); in udp_listener()
314 ASSERT(0 == uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in udp_sender()
/third_party/openssl/test/recipes/80-test_cmp_http_data/Mock/
Dtest.cnf20 # server_port = 0 means that the port is determined by the server
21 server_port = 0
22 server_tls = $server_port
24 server = $server_host:$server_port
34 kur_port = $server_port
35 pbm_port = $server_port
/third_party/mbedtls/programs/test/
Dudp_proxy_wrapper.sh78 server_port=*) server_port_orig="${param#*=}";;
106 server_port=$(( server_port_orig + 1 ))
107 set -- "$@" "server_port=$server_port"
108 echo " * Intermediate port: $server_port"
Dudp_proxy.c148 const char *server_port; /* port to forward packets to */ member
190 opt.server_port = DFL_SERVER_PORT; in get_options()
211 opt.server_port = q; in get_options()
844 opt.server_addr, opt.server_port ); in main()
847 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_addr, opt.server_port, in main()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgsttcpserversink.c131 this->server_port = TCP_DEFAULT_PORT; in gst_tcp_server_sink_init()
260 sink->server_port = g_value_get_int (value); in gst_tcp_server_sink_set_property()
281 g_value_set_int (value, sink->server_port); in gst_tcp_server_sink_get_property()
313 tcp_create_socket (GST_ELEMENT (this), &cur_addr, this->server_port, in gst_tcp_server_sink_init_send()
340 if (this->server_port == 0) { in gst_tcp_server_sink_init_send()
345 bound_port = this->server_port; in gst_tcp_server_sink_init_send()
390 ("Failed to bind on host '%s:%d': %s", this->host, this->server_port, in gst_tcp_server_sink_init_send()
405 this->server_port, err->message)); in gst_tcp_server_sink_init_send()
Dgsttcpserversrc.c176 src->server_port = TCP_DEFAULT_PORT; in gst_tcp_server_src_init()
382 tcpserversrc->server_port = g_value_get_int (value); in gst_tcp_server_src_set_property()
402 g_value_set_int (value, tcpserversrc->server_port); in gst_tcp_server_src_get_property()
438 tcp_create_socket (GST_ELEMENT (src), &cur_addr, src->server_port, in gst_tcp_server_src_start()
463 if (src->server_port == 0) { in gst_tcp_server_src_start()
468 bound_port = src->server_port; in gst_tcp_server_src_start()
503 ("Failed to bind on host '%s:%d': %s", src->host, src->server_port, in gst_tcp_server_src_start()
517 ("Failed to listen on host '%s:%d': %s", src->host, src->server_port, in gst_tcp_server_src_start()
/third_party/flutter/engine/flutter/runtime/
Ddart_service_isolate.cc127 intptr_t server_port, in Startup() argument
176 bool auto_start = server_port >= 0; in Startup()
177 if (server_port < 0) { in Startup()
180 server_port = 0; in Startup()
184 Dart_NewInteger(server_port)); in Startup()
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept02.c36 static int server_port; variable
97 server_addr->sin_port = server_port; in run()
129 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
130 tst_res(TINFO, "Starting listener on port: %d", ntohs(server_port)); in setup()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsptransport.c198 transport->server_port.min = -1; in gst_rtsp_transport_init()
199 transport->server_port.max = -1; in gst_rtsp_transport_init()
556 if (parse_range (split[i] + 12, &transport->server_port)) { in gst_rtsp_transport_parse()
557 if (!IS_VALID_PORT_RANGE (transport->server_port)) in gst_rtsp_transport_parse()
714 && transport->server_port.min >= 0) { in gst_rtsp_transport_as_text()
715 if (transport->server_port.min < 65536 in gst_rtsp_transport_as_text()
716 && transport->server_port.max < 65536) { in gst_rtsp_transport_as_text()
718 if (transport->server_port.max > 0) in gst_rtsp_transport_as_text()
719 g_ptr_array_add (strs, range_as_text (&transport->server_port)); in gst_rtsp_transport_as_text()
722 transport->server_port.min)); in gst_rtsp_transport_as_text()
/third_party/lwip/src/apps/http/
Dhttp_client.c487 …tring(const httpc_connection_t *settings, const char* server_name, int server_port, const char* ur… in httpc_create_request_string() argument
492 if (server_port != HTTP_DEFAULT_PORT) { in httpc_create_request_string()
493 …return snprintf(buffer, buffer_size, HTTPC_REQ_11_PROXY_PORT_FORMAT(server_name, server_port, uri,… in httpc_create_request_string()
508 … u16_t server_port, const char* uri, altcp_recv_fn recv_fn, void* callback_arg, int use_host) in httpc_init_connection_common() argument
521 req_len = httpc_create_request_string(settings, server_name, server_port, uri, use_host, NULL, 0); in httpc_init_connection_common()
567 req->remote_port = settings->use_proxy ? settings->proxy_port : server_port; in httpc_init_connection_common()
575 req_len2 = httpc_create_request_string(settings, server_name, server_port, uri, use_host, in httpc_init_connection_common()
595 u16_t server_port, const char* uri, altcp_recv_fn recv_fn, void* callback_arg) in httpc_init_connection() argument
597 …return httpc_init_connection_common(connection, settings, server_name, server_port, uri, recv_fn, … in httpc_init_connection()
606 const ip_addr_t* server_addr, u16_t server_port, const char* uri, in httpc_init_connection_addr() argument
[all …]
/third_party/openssl/util/perl/TLSProxy/
DProxy.pm94 server_port => 0,
202 PeerPort => $self->{server_port},
258 $self->{server_port} = $1;
262 if ($self->{server_port} == 0) {
582 sub server_port subroutine
585 return $self->{server_port};
/third_party/mbedtls/programs/x509/
Dcert_app.c109 const char *server_port; /* port on which the ssl service runs */ member
191 opt.server_port = DFL_SERVER_PORT; in main()
228 opt.server_port = q; in main()
388 opt.server_port ); in main()
392 opt.server_port, MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main()
/third_party/node/src/
Dinspector_socket_server.cc156 SocketSession(InspectorSocketServer* server, int id, int server_port);
165 int server_port() { in server_port() function in node::inspector::SocketSession
363 session->server_port()); in SendListResponse()
465 void InspectorSocketServer::Accept(int server_port, in Accept() argument
468 new SocketSession(this, next_session_id_++, server_port)); in Accept()
495 int server_port) in SocketSession() argument
496 : id_(id), server_port_(server_port) {} in SocketSession()
/third_party/ltp/testcases/network/stress/udp/uni-basic/
Dudp4-uni-basic01275 server_port=`find_portbundle udp 1025 1`
283 ns-udpserver -b -f $IP_VER -p $server_port -o $info_file
301 …OST ${LTPROOT}/testcases/bin/ns-udpclient -b -f $IP_VER -S $lhost_addr -p $server_port' ; echo $?'`
/third_party/ltp/testcases/network/stress/udp/multi-diffnic/
Dudp4-multi-diffnic01286 server_port=`find_portbundle udp 1025 1`
294 ns-udpserver -b -f $IP_VER -p $server_port -o $info_file
316 …OST ${LTPROOT}/testcases/bin/ns-udpclient -b -f $IP_VER -S $lhost_addr -p $server_port' ; echo $?'`
/third_party/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01319 server_port=`find_portbundle tcp 1025 1`
327 ns-tcpserver -b -c -f $IP_VER -p $server_port -o $info_file
350 …HOST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server_port'; echo $?'`
/third_party/ltp/testcases/network/stress/tcp/multi-sameport/
Dtcp4-multi-sameport01313 server_port=`find_portbundle tcp 1025 1`
321 ns-tcpserver -b -c -f $IP_VER -o $info_file -p $server_port
341 …OST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server_port' ; echo $?'`
/third_party/python/Lib/test/
Dssl_servers.py31 self.server_port))
80 self.server.server_port,
127 self.port = self.server.server_port
/third_party/mbedtls/programs/ssl/
Dssl_mail_client.c148 const char *server_port; /* port on which the ssl service runs */ member
416 opt.server_port = DFL_SERVER_PORT; in main()
439 opt.server_port = q; in main()
584 opt.server_port ); in main()
588 opt.server_port, MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main()
/third_party/ltp/testcases/network/stress/udp/multi-diffip/
Dudp4-multi-diffip01336 server_port=`find_portbundle udp 1025 1`
344 ns-udpserver -b -f $IP_VER -p $server_port -o $info_file
379 …OST ${LTPROOT}/testcases/bin/ns-udpclient -b -f $IP_VER -S $lhost_addr -p $server_port' ; echo $?'`
/third_party/ltp/testcases/network/stress/tcp/multi-diffip/
Dtcp4-multi-diffip01367 server_port=`find_portbundle tcp 1025 1`
376 ns-tcpserver -b -c -f $IP_VER -p $server_port -o $info_file
411 …OST ${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server_port' ; echo $?'`
/third_party/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01472 server_port=`find_portbundle tcp 1025 1`
480 ns-tcpserver -b -f $IP_VER -p $server_port -o $info_file $server_opt
497 …${LTPROOT}/testcases/bin/ns-tcpclient -b -f $IP_VER -S $lhost_addr -p $server_port $client_opt' ; …
/third_party/lwip/test/sockets/
Dsockets_stresstest.h37 void sockets_stresstest_init_server(int addr_family, u16_t server_port);

123