Home
last modified time | relevance | path

Searched refs:requested_port (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_utils_posix_ifaddrs.cc91 int requested_port, in grpc_tcp_server_add_all_local_addrs() argument
98 if (requested_port == 0) { in grpc_tcp_server_add_all_local_addrs()
103 if ((err = get_unused_port(&requested_port)) != GRPC_ERROR_NONE) { in grpc_tcp_server_add_all_local_addrs()
105 } else if (requested_port <= 0) { in grpc_tcp_server_add_all_local_addrs()
108 gpr_log(GPR_DEBUG, "Picked unused port %d", requested_port); in grpc_tcp_server_add_all_local_addrs()
129 if (!grpc_sockaddr_set_port(&addr, requested_port)) { in grpc_tcp_server_add_all_local_addrs()
161 GPR_ASSERT(requested_port == new_sp->port); in grpc_tcp_server_add_all_local_addrs()
Dtcp_server_posix.cc269 int requested_port, in add_wildcard_addrs_to_server() argument
282 return grpc_tcp_server_add_all_local_addrs(s, port_index, requested_port, in add_wildcard_addrs_to_server()
286 grpc_sockaddr_make_wildcards(requested_port, &wild4, &wild6); in add_wildcard_addrs_to_server()
291 requested_port = *out_port = sp->port; in add_wildcard_addrs_to_server()
297 grpc_sockaddr_set_port(&wild4, requested_port); in add_wildcard_addrs_to_server()
387 int requested_port = grpc_sockaddr_get_port(addr); in tcp_server_add_port() local
399 if (requested_port == 0) { in tcp_server_add_port()
411 requested_port = used_port; in tcp_server_add_port()
418 if (grpc_sockaddr_is_wildcard(addr, &requested_port)) { in tcp_server_add_port()
419 return add_wildcard_addrs_to_server(s, port_index, requested_port, in tcp_server_add_port()
Dtcp_server_utils_posix_noifaddrs.cc29 int requested_port, in grpc_tcp_server_add_all_local_addrs() argument
Dtcp_server_utils_posix.h112 int requested_port,
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc125 int requested_port = -1; in Init() local
136 &requested_port)) { in Init()
144 if (requested_port == -1) { in Init()
188 builder.AddListeningPort(strings::StrCat("0.0.0.0:", requested_port), in Init()
326 int requested_port; in WorkerCacheFactory() local
330 &requested_port)) { in WorkerCacheFactory()
335 if (requested_port != bound_port_) { in WorkerCacheFactory()
336 return errors::InvalidArgument("Requested port ", requested_port, in WorkerCacheFactory()
/external/tensorflow/tensorflow/contrib/verbs/
Dverbs_server_lib.cc64 int requested_port; in ChannelCacheFactory() local
67 &requested_port)) { in ChannelCacheFactory()
72 if (requested_port != bound_port()) { in ChannelCacheFactory()
73 return errors::InvalidArgument("Requested port ", requested_port, in ChannelCacheFactory()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c70 unsigned short requested_port; member
1118 if (mk_sockaddr(test->domain, test->requested_ip, test->requested_port, in init_addrs()