/third_party/grpc/src/core/lib/iomgr/ |
D | sockaddr_utils.cc | 47 const grpc_sockaddr* addr = in grpc_sockaddr_is_v4mapped() 48 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_is_v4mapped() 77 const grpc_sockaddr* addr = in grpc_sockaddr_to_v4mapped() 78 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_to_v4mapped() 97 const grpc_sockaddr* addr; in grpc_sockaddr_is_wildcard() 102 addr = reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_is_wildcard() 164 const grpc_sockaddr* addr = in grpc_sockaddr_to_string() 165 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_to_string() 239 const grpc_sockaddr* addr = in grpc_sockaddr_get_uri_scheme() 240 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_sockaddr_get_uri_scheme() [all …]
|
D | unix_sockets_posix.cc | 66 const grpc_sockaddr* addr = in grpc_is_unix_socket() 67 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_is_unix_socket() 73 const grpc_sockaddr* addr = in grpc_unlink_if_unix_domain_socket() 74 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_unlink_if_unix_domain_socket() 94 const grpc_sockaddr* addr = in grpc_sockaddr_to_uri_unix_if_possible() 95 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 | 55 void (*connect)(grpc_custom_socket* socket, const grpc_sockaddr* addr, 65 const grpc_sockaddr* addr, int* len); 67 const grpc_sockaddr* addr, int* len); 68 grpc_error* (*bind)(grpc_custom_socket* socket, const grpc_sockaddr* addr,
|
D | tcp_uv.cc | 44 #define IGNORE_CONST(addr) ((grpc_sockaddr*)(uintptr_t)(addr)) 227 const grpc_sockaddr* addr, in uv_socket_getpeername() 236 const grpc_sockaddr* addr, in uv_socket_getsockname() 297 const grpc_sockaddr* addr, size_t len, in uv_socket_bind() 326 const grpc_sockaddr* addr, size_t len, in uv_socket_connect()
|
D | tcp_server_utils_posix_ifaddrs.cc | 74 if (bind(fd, reinterpret_cast<const grpc_sockaddr*>(wild.addr), wild.len) != in get_unused_port() 80 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(wild.addr), &wild.len) != in get_unused_port()
|
D | udp_server.cc | 352 reinterpret_cast<grpc_sockaddr*>( in bind_socket() 362 grpc_sockaddr* addr_ptr = in prepare_socket() 363 reinterpret_cast<grpc_sockaddr*>(const_cast<char*>(addr->addr)); in prepare_socket() 422 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in prepare_socket() 605 reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in grpc_udp_server_add_port()
|
D | tcp_server_custom.cc | 226 socket, reinterpret_cast<grpc_sockaddr*>(&peer_name.addr), in finish_accept() 296 socket, reinterpret_cast<grpc_sockaddr*>(const_cast<char*>(addr->addr)), in add_socket_to_server() 309 socket, reinterpret_cast<grpc_sockaddr*>(&sockname_temp.addr), in add_socket_to_server() 366 reinterpret_cast<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 | sockaddr_custom.h | 33 typedef struct sockaddr grpc_sockaddr; typedef
|
D | sockaddr_posix.h | 34 typedef struct sockaddr grpc_sockaddr; typedef
|
D | sockaddr_windows.h | 34 typedef struct sockaddr grpc_sockaddr; typedef
|
D | tcp_server_windows.cc | 206 if (bind(sock, (const grpc_sockaddr*)addr->addr, (int)addr->len) == in prepare_socket() 218 if (getsockname(sock, (grpc_sockaddr*)sockname_temp.addr, in prepare_socket() 350 err = getpeername(sock, (grpc_sockaddr*)peer_name.addr, &peer_name_len); in on_accept() 471 (grpc_sockaddr*)sockname_temp.addr, in tcp_server_add_port()
|
D | tcp_server_utils_posix_common.cc | 186 if (bind(fd, reinterpret_cast<grpc_sockaddr*>(const_cast<char*>(addr->addr)), in grpc_tcp_server_prepare_socket() 199 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(sockname_temp.addr), in grpc_tcp_server_prepare_socket()
|
D | socket_utils_posix.cc | 37 fd = accept(sockfd, reinterpret_cast<grpc_sockaddr*>(resolved_addr->addr), in grpc_accept4()
|
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 | socket_utils_common_posix.cc | 425 if (bind(fd, reinterpret_cast<grpc_sockaddr*>(&addr), sizeof(addr)) == 0) { in probe_ipv6_once() 466 const grpc_sockaddr* addr = in grpc_create_dualstack_socket_using_factory() 467 reinterpret_cast<const grpc_sockaddr*>(resolved_addr->addr); in grpc_create_dualstack_socket_using_factory()
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | iomgr.pxd.pxi | 35 ctypedef struct grpc_sockaddr: 78 void (*connect)(grpc_custom_socket* socket, const grpc_sockaddr* addr, 88 const grpc_sockaddr* addr, int* len); 90 const grpc_sockaddr* addr, int* len); 91 grpc_error* (*bind)(grpc_custom_socket* socket, const grpc_sockaddr* addr,
|
D | iomgr.pyx.pxi | 40 cdef sockaddr_to_tuple(const grpc_sockaddr* address, size_t length): 46 cdef sockaddr_is_ipv4(const grpc_sockaddr* address, size_t length):
|
D | grpc_gevent.pyx.pxi | 70 cdef void socket_connect(grpc_custom_socket* socket, const grpc_sockaddr* addr, 172 const grpc_sockaddr* addr, 185 const grpc_sockaddr* addr, 204 const grpc_sockaddr* addr,
|
/third_party/grpc/test/core/iomgr/ |
D | sockaddr_utils_test.cc | 194 grpc_sockaddr* dummy_addr; in test_sockaddr_to_string() 231 dummy_addr = reinterpret_cast<grpc_sockaddr*>(dummy.addr); in test_sockaddr_to_string() 242 grpc_sockaddr* dummy_addr; in test_sockaddr_set_get_port() 257 dummy_addr = reinterpret_cast<grpc_sockaddr*>(dummy.addr); in test_sockaddr_set_get_port()
|
/third_party/grpc/src/core/lib/security/security_connector/local/ |
D | local_security_connector.cc | 78 if (getsockname(fd, reinterpret_cast<grpc_sockaddr*>(resolved_addr.addr), in local_check_peer() 85 grpc_sockaddr* sock_addr = reinterpret_cast<grpc_sockaddr*>(&addr->addr); in local_check_peer()
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/iomgr/ |
D | iomgr.pyx.pxi | 49 const grpc_sockaddr* addr, 89 const grpc_sockaddr* addr, 104 const grpc_sockaddr* addr, 139 const grpc_sockaddr* addr,
|
/third_party/grpc/test/core/surface/ |
D | concurrent_connectivity_test.cc | 138 grpc_sockaddr* addr = reinterpret_cast<grpc_sockaddr*>(resolved_addr.addr); in bad_server_thread()
|
/third_party/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 156 grpc_sockaddr* addr = reinterpret_cast<grpc_sockaddr*>(resolved_address.addr); in GetCensusSafeClientIpString()
|