Searched refs:resolved_local_addr (Results 1 – 4 of 4) sorted by relevance
375 grpc_resolved_address resolved_local_addr; in custom_tcp_endpoint_create() local376 resolved_local_addr.len = sizeof(resolved_local_addr.addr); in custom_tcp_endpoint_create()378 socket, reinterpret_cast<sockaddr*>(resolved_local_addr.addr), in custom_tcp_endpoint_create()379 reinterpret_cast<int*>(&resolved_local_addr.len)) != in custom_tcp_endpoint_create()383 tcp->local_address = grpc_sockaddr_to_uri(&resolved_local_addr); in custom_tcp_endpoint_create()
368 grpc_resolved_address resolved_local_addr; in grpc_cfstream_endpoint_create() local369 resolved_local_addr.len = sizeof(resolved_local_addr.addr); in grpc_cfstream_endpoint_create()378 if (getsockname(sockfd, reinterpret_cast<sockaddr*>(resolved_local_addr.addr), in grpc_cfstream_endpoint_create()379 &resolved_local_addr.len) < 0) { in grpc_cfstream_endpoint_create()382 ep_impl->local_address = grpc_sockaddr_to_uri(&resolved_local_addr); in grpc_cfstream_endpoint_create()
532 grpc_resolved_address resolved_local_addr; in grpc_tcp_create() local533 resolved_local_addr.len = sizeof(resolved_local_addr.addr); in grpc_tcp_create()535 reinterpret_cast<sockaddr*>(resolved_local_addr.addr), in grpc_tcp_create()536 &resolved_local_addr.len) < 0) { in grpc_tcp_create()539 tcp->local_address = grpc_sockaddr_to_uri(&resolved_local_addr); in grpc_tcp_create()
1765 grpc_resolved_address resolved_local_addr; in grpc_tcp_create() local1766 memset(&resolved_local_addr, 0, sizeof(resolved_local_addr)); in grpc_tcp_create()1767 resolved_local_addr.len = sizeof(resolved_local_addr.addr); in grpc_tcp_create()1769 reinterpret_cast<sockaddr*>(resolved_local_addr.addr), in grpc_tcp_create()1770 &resolved_local_addr.len) < 0) { in grpc_tcp_create()1773 tcp->local_address = grpc_sockaddr_to_uri(&resolved_local_addr); in grpc_tcp_create()