/external/grpc-grpc/src/core/lib/iomgr/ |
D | sockaddr_utils.cc | 43 const grpc_sockaddr* addr = in grpc_sockaddr_is_v4mapped() 44 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_is_v4mapped() 73 const grpc_sockaddr* addr = in grpc_sockaddr_to_v4mapped() 74 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_to_v4mapped() 93 const grpc_sockaddr* addr; in grpc_sockaddr_is_wildcard() 98 addr = reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_is_wildcard() 156 const grpc_sockaddr* addr; in grpc_sockaddr_to_string() 169 addr = reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_to_string() 241 const grpc_sockaddr* addr = in grpc_sockaddr_get_uri_scheme() 242 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_get_uri_scheme() [all …]
|
D | unix_sockets_posix.cc | 70 const grpc_sockaddr* addr = in grpc_is_unix_socket() 71 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_is_unix_socket() 77 const grpc_sockaddr* addr = in grpc_unlink_if_unix_domain_socket() 78 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_unlink_if_unix_domain_socket() 93 const grpc_sockaddr* addr = in grpc_sockaddr_to_uri_unix_if_possible() 94 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_to_uri_unix_if_possible()
|
D | endpoint_pair_windows.cc | 50 GPR_ASSERT(bind(lst_sock, (grpc_sockaddr*)&addr, sizeof(addr)) != in create_sockets() 53 GPR_ASSERT(getsockname(lst_sock, (grpc_sockaddr*)&addr, &addr_len) != in create_sockets() 60 GPR_ASSERT(WSAConnect(cli_sock, (grpc_sockaddr*)&addr, addr_len, NULL, NULL, in create_sockets() 62 svr_sock = accept(lst_sock, (grpc_sockaddr*)&addr, &addr_len); in create_sockets()
|
D | tcp_custom.h | 52 void (*connect)(grpc_custom_socket* socket, const grpc_sockaddr* addr, 62 const grpc_sockaddr* addr, int* len); 64 const grpc_sockaddr* addr, int* len); 65 grpc_error* (*bind)(grpc_custom_socket* socket, const grpc_sockaddr* addr,
|
D | tcp_uv.cc | 45 #define IGNORE_CONST(addr) ((grpc_sockaddr*)(uintptr_t)(addr)) 228 const grpc_sockaddr* addr, in uv_socket_getpeername() 237 const grpc_sockaddr* addr, in uv_socket_getsockname() 299 const grpc_sockaddr* addr, size_t len, in uv_socket_bind() 328 const grpc_sockaddr* addr, size_t len, in uv_socket_connect()
|
D | tcp_server_utils_posix_ifaddrs.cc | 71 if (bind(fd, reinterpret_cast<const grpc_sockaddr*>(wild.addr), wild.len) != in get_unused_port() 77 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(wild.addr), &wild.len) != in get_unused_port()
|
D | udp_server.cc | 351 reinterpret_cast<grpc_sockaddr*>( in bind_socket() 361 grpc_sockaddr* addr_ptr = in prepare_socket() 362 reinterpret_cast<grpc_sockaddr*>(const_cast<char*>(addr->addr)); in prepare_socket() 423 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in prepare_socket() 604 reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in grpc_udp_server_add_port()
|
D | tcp_server_custom.cc | 216 socket, (grpc_sockaddr*)&peer_name.addr, (int*)&peer_name.len); in finish_accept() 281 error = grpc_custom_socket_vtable->bind(socket, (grpc_sockaddr*)addr->addr, in add_socket_to_server() 294 socket, (grpc_sockaddr*)&sockname_temp.addr, (int*)&sockname_temp.len); in add_socket_to_server() 349 socket, (grpc_sockaddr*)&sockname_temp.addr, in tcp_server_add_port()
|
D | socket_utils_common_posix.cc | 337 if (bind(fd, reinterpret_cast<grpc_sockaddr*>(&addr), sizeof(addr)) == 0) { in probe_ipv6_once() 397 const grpc_sockaddr* addr = in grpc_create_dualstack_socket_using_factory() 398 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_create_dualstack_socket_using_factory()
|
D | tcp_server_windows.cc | 199 if (bind(sock, (const grpc_sockaddr*)addr->addr, (int)addr->len) == in prepare_socket() 211 if (getsockname(sock, (grpc_sockaddr*)sockname_temp.addr, in prepare_socket() 347 err = getpeername(sock, (grpc_sockaddr*)peer_name.addr, &peer_name_len); in on_accept() 468 (grpc_sockaddr*)sockname_temp.addr, in tcp_server_add_port()
|
D | socket_utils_linux.cc | 38 return accept4(sockfd, reinterpret_cast<grpc_sockaddr*>(resolved_addr->addr), in grpc_accept4()
|
D | tcp_server_utils_posix_common.cc | 188 if (bind(fd, reinterpret_cast<grpc_sockaddr*>(const_cast<char*>(addr->addr)), in grpc_tcp_server_prepare_socket() 201 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in grpc_tcp_server_prepare_socket()
|
D | tcp_client_windows.cc | 177 bind(sock, (grpc_sockaddr*)&local_address.addr, (int)local_address.len); in tcp_connect() 185 success = ConnectEx(sock, (grpc_sockaddr*)&addr->addr, (int)addr->len, NULL, in tcp_connect()
|
D | sockaddr_custom.h | 33 typedef struct sockaddr grpc_sockaddr; typedef
|
D | sockaddr_windows.h | 34 typedef struct sockaddr grpc_sockaddr; typedef
|
D | sockaddr_posix.h | 34 typedef struct sockaddr grpc_sockaddr; typedef
|
D | socket_utils_posix.cc | 37 fd = accept(sockfd, reinterpret_cast<grpc_sockaddr*>(resolved_addr->addr), in grpc_accept4()
|
D | tcp_client_custom.cc | 147 socket, (const grpc_sockaddr*)resolved_addr->addr, resolved_addr->len, in tcp_connect()
|
D | socket_windows.cc | 169 if (bind(s, reinterpret_cast<grpc_sockaddr*>(&addr), sizeof(addr)) == 0) { in probe_ipv6_once()
|
D | tcp_client_posix.cc | 299 err = connect(fd, reinterpret_cast<const grpc_sockaddr*>(addr->addr), in grpc_tcp_client_create_from_prepared_fd()
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | grpc_gevent.pxd.pxi | 32 ctypedef struct grpc_sockaddr: 73 void (*connect)(grpc_custom_socket* socket, const grpc_sockaddr* addr, 83 const grpc_sockaddr* addr, int* len); 85 const grpc_sockaddr* addr, int* len); 86 grpc_error* (*bind)(grpc_custom_socket* socket, const grpc_sockaddr* addr,
|
D | grpc_gevent.pyx.pxi | 47 cdef sockaddr_to_tuple(const grpc_sockaddr* address, size_t length): 53 cdef sockaddr_is_ipv4(const grpc_sockaddr* address, size_t length): 113 cdef void socket_connect(grpc_custom_socket* socket, const grpc_sockaddr* addr, 215 const grpc_sockaddr* addr, 228 const grpc_sockaddr* addr, 247 const grpc_sockaddr* addr,
|
/external/grpc-grpc/test/core/iomgr/ |
D | sockaddr_utils_test.cc | 203 grpc_sockaddr* dummy_addr; in test_sockaddr_to_string() 240 dummy_addr = reinterpret_cast<grpc_sockaddr*>(dummy.addr); in test_sockaddr_to_string() 251 grpc_sockaddr* dummy_addr; in test_sockaddr_set_get_port() 266 dummy_addr = reinterpret_cast<grpc_sockaddr*>(dummy.addr); in test_sockaddr_set_get_port()
|
/external/grpc-grpc/test/core/surface/ |
D | concurrent_connectivity_test.cc | 127 grpc_sockaddr* addr = reinterpret_cast<grpc_sockaddr*>(resolved_addr.addr); in bad_server_thread()
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 157 grpc_sockaddr* addr = reinterpret_cast<grpc_sockaddr*>(resolved_address.addr); in GetCensusSafeClientIpString()
|