Home
last modified time | relevance | path

Searched refs:resolved_local_addr (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_custom.cc375 grpc_resolved_address resolved_local_addr; in custom_tcp_endpoint_create() local
376 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()
Dendpoint_cfstream.cc368 grpc_resolved_address resolved_local_addr; in grpc_cfstream_endpoint_create() local
369 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()
Dtcp_windows.cc532 grpc_resolved_address resolved_local_addr; in grpc_tcp_create() local
533 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()
Dtcp_posix.cc1765 grpc_resolved_address resolved_local_addr; in grpc_tcp_create() local
1766 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()