Searched refs:grpc_sockaddr_get_port (Results 1 – 13 of 13) sorted by relevance
256 GPR_ASSERT(grpc_sockaddr_get_port(&input4) == 12345); in test_sockaddr_set_get_port()258 GPR_ASSERT(grpc_sockaddr_get_port(&input4) == 54321); in test_sockaddr_set_get_port()261 GPR_ASSERT(grpc_sockaddr_get_port(&input6) == 12345); in test_sockaddr_set_get_port()263 GPR_ASSERT(grpc_sockaddr_get_port(&input6) == 54321); in test_sockaddr_set_get_port()268 GPR_ASSERT(grpc_sockaddr_get_port(&dummy) == 0); in test_sockaddr_set_get_port()
54 int grpc_sockaddr_get_port(const grpc_resolved_address* addr);
299 port = grpc_sockaddr_get_port(&sockname_temp); in add_socket_to_server()344 if (grpc_sockaddr_get_port(addr) == 0) { in tcp_server_add_port()351 *port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
218 *port = grpc_sockaddr_get_port(&sockname_temp); in prepare_socket()464 if (grpc_sockaddr_get_port(addr) == 0) { in tcp_server_add_port()471 *port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
430 return grpc_sockaddr_get_port(&sockname_temp); in prepare_socket()598 if (grpc_sockaddr_get_port(addr) == 0) { in grpc_udp_server_add_port()606 port = grpc_sockaddr_get_port(&sockname_temp); in grpc_udp_server_add_port()
84 *port = grpc_sockaddr_get_port(&wild); in get_unused_port()
153 *port = grpc_sockaddr_get_port(addr); in ParseResolvedAddress()
207 *port = grpc_sockaddr_get_port(&sockname_temp); in grpc_tcp_server_prepare_socket()
387 int requested_port = grpc_sockaddr_get_port(addr); in tcp_server_add_port()407 int used_port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
260 int grpc_sockaddr_get_port(const grpc_resolved_address* resolved_addr) { in grpc_sockaddr_get_port() function
414 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()415 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()423 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()424 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
118 int grpc_sockaddr_get_port(const grpc_resolved_address *addr);
37 port = grpc_sockaddr_get_port(address)