/external/grpc-grpc/src/core/lib/iomgr/ |
D | sockaddr_utils.h | 31 int grpc_sockaddr_is_v4mapped(const grpc_resolved_address* addr, 32 grpc_resolved_address* addr4_out); 36 int grpc_sockaddr_to_v4mapped(const grpc_resolved_address* addr, 37 grpc_resolved_address* addr6_out); 41 int grpc_sockaddr_is_wildcard(const grpc_resolved_address* addr, int* port_out); 44 void grpc_sockaddr_make_wildcards(int port, grpc_resolved_address* wild4_out, 45 grpc_resolved_address* wild6_out); 48 void grpc_sockaddr_make_wildcard4(int port, grpc_resolved_address* wild_out); 51 void grpc_sockaddr_make_wildcard6(int port, grpc_resolved_address* wild_out); 54 int grpc_sockaddr_get_port(const grpc_resolved_address* addr); [all …]
|
D | sockaddr_utils.cc | 40 int grpc_sockaddr_is_v4mapped(const grpc_resolved_address* resolved_addr, in grpc_sockaddr_is_v4mapped() 41 grpc_resolved_address* resolved_addr4_out) { in grpc_sockaddr_is_v4mapped() 70 int grpc_sockaddr_to_v4mapped(const grpc_resolved_address* resolved_addr, in grpc_sockaddr_to_v4mapped() 71 grpc_resolved_address* resolved_addr6_out) { in grpc_sockaddr_to_v4mapped() 91 int grpc_sockaddr_is_wildcard(const grpc_resolved_address* resolved_addr, in grpc_sockaddr_is_wildcard() 94 grpc_resolved_address addr4_normalized; in grpc_sockaddr_is_wildcard() 125 void grpc_sockaddr_make_wildcards(int port, grpc_resolved_address* wild4_out, in grpc_sockaddr_make_wildcards() 126 grpc_resolved_address* wild6_out) { in grpc_sockaddr_make_wildcards() 132 grpc_resolved_address* resolved_wild_out) { in grpc_sockaddr_make_wildcard4() 143 grpc_resolved_address* resolved_wild_out) { in grpc_sockaddr_make_wildcard6() [all …]
|
D | udp_server.cc | 72 const grpc_resolved_address* addr); 119 grpc_resolved_address addr_; 145 const grpc_resolved_address* addr) in GrpcUdpListener() 156 memcpy(&addr_, addr, sizeof(grpc_resolved_address)); in GrpcUdpListener() 347 const grpc_resolved_address* addr) { in bind_socket() 358 const grpc_resolved_address* addr, int rcv_buf_size, in prepare_socket() 360 grpc_resolved_address sockname_temp; in prepare_socket() 552 const grpc_resolved_address* addr, in add_socket_to_server() 570 const grpc_resolved_address* addr, in grpc_udp_server_add_port() 588 grpc_resolved_address addr6_v4mapped; in grpc_udp_server_add_port() [all …]
|
D | unix_sockets_posix.cc | 59 (*addrs)->addrs = static_cast<grpc_resolved_address*>( in grpc_resolve_unix_domain_address() 60 gpr_malloc(sizeof(grpc_resolved_address))); in grpc_resolve_unix_domain_address() 69 int grpc_is_unix_socket(const grpc_resolved_address* resolved_addr) { in grpc_is_unix_socket() 76 const grpc_resolved_address* resolved_addr) { in grpc_unlink_if_unix_domain_socket() 92 const grpc_resolved_address* resolved_addr) { in grpc_sockaddr_to_uri_unix_if_possible()
|
D | tcp_server_custom.cc | 208 grpc_resolved_address peer_name; in finish_accept() 213 memset(&peer_name, 0, sizeof(grpc_resolved_address)); in finish_accept() 272 const grpc_resolved_address* addr, in add_socket_to_server() 278 grpc_resolved_address sockname_temp; in add_socket_to_server() 323 const grpc_resolved_address* addr, in tcp_server_add_port() 328 grpc_resolved_address addr6_v4mapped; in tcp_server_add_port() 329 grpc_resolved_address wildcard; in tcp_server_add_port() 330 grpc_resolved_address* allocated_addr = nullptr; in tcp_server_add_port() 331 grpc_resolved_address sockname_temp; in tcp_server_add_port() 354 (grpc_resolved_address*)gpr_malloc(sizeof(grpc_resolved_address)); in tcp_server_add_port() [all …]
|
D | tcp_server_windows.cc | 188 const grpc_resolved_address* addr, in prepare_socket() 190 grpc_resolved_address sockname_temp; in prepare_socket() 301 grpc_resolved_address peer_name; in on_accept() 389 const grpc_resolved_address* addr, in add_socket_to_server() 447 const grpc_resolved_address* addr, in tcp_server_add_port() 451 grpc_resolved_address addr6_v4mapped; in tcp_server_add_port() 452 grpc_resolved_address wildcard; in tcp_server_add_port() 453 grpc_resolved_address* allocated_addr = NULL; in tcp_server_add_port() 454 grpc_resolved_address sockname_temp; in tcp_server_add_port() 474 (grpc_resolved_address*)gpr_malloc(sizeof(grpc_resolved_address)); in tcp_server_add_port() [all …]
|
D | unix_sockets_posix.h | 35 int grpc_is_unix_socket(const grpc_resolved_address* resolved_addr); 38 const grpc_resolved_address* resolved_addr); 41 const grpc_resolved_address* resolved_addr);
|
D | unix_sockets_posix_noop.cc | 41 int grpc_is_unix_socket(const grpc_resolved_address* addr) { return false; } in grpc_is_unix_socket() 43 void grpc_unlink_if_unix_domain_socket(const grpc_resolved_address* addr) {} in grpc_unlink_if_unix_domain_socket() 45 char* grpc_sockaddr_to_uri_unix_if_possible(const grpc_resolved_address* addr) { in grpc_sockaddr_to_uri_unix_if_possible()
|
D | tcp_server_utils_posix_common.cc | 81 const grpc_resolved_address* addr, in add_socket_to_server() 109 memcpy(&sp->addr, addr, sizeof(grpc_resolved_address)); in add_socket_to_server() 128 const grpc_resolved_address* addr, in grpc_tcp_server_add_addr() 132 grpc_resolved_address addr4_copy; in grpc_tcp_server_add_addr() 148 const grpc_resolved_address* addr, in grpc_tcp_server_prepare_socket() 150 grpc_resolved_address sockname_temp; in grpc_tcp_server_prepare_socket()
|
D | tcp_client_posix.h | 49 const grpc_resolved_address* addr, 50 grpc_resolved_address* mapped_addr, 65 const grpc_channel_args* channel_args, const grpc_resolved_address* addr,
|
D | tcp_server_utils_posix.h | 34 grpc_resolved_address addr; 100 const grpc_resolved_address* addr, 117 const grpc_resolved_address* addr,
|
D | socket_utils_posix.h | 35 int grpc_accept4(int sockfd, grpc_resolved_address* resolved_addr, int nonblock, 133 grpc_error* grpc_create_dualstack_socket(const grpc_resolved_address* addr, 141 grpc_socket_factory* factory, const grpc_resolved_address* addr, int type,
|
D | tcp_client_posix.cc | 66 static grpc_error* prepare_socket(const grpc_resolved_address* addr, int fd, in prepare_socket() 253 const grpc_resolved_address* addr, in grpc_tcp_client_prepare_fd() 254 grpc_resolved_address* mapped_addr, in grpc_tcp_client_prepare_fd() 293 const grpc_channel_args* channel_args, const grpc_resolved_address* addr, in grpc_tcp_client_create_from_prepared_fd() 344 const grpc_resolved_address* addr, in tcp_connect() 346 grpc_resolved_address mapped_addr; in tcp_connect()
|
D | tcp_server_posix.cc | 192 grpc_resolved_address addr; in on_read() 271 grpc_resolved_address wild4; in add_wildcard_addrs_to_server() 272 grpc_resolved_address wild6; in add_wildcard_addrs_to_server() 366 memcpy(&sp->addr, &listener->addr, sizeof(grpc_resolved_address)); in clone_port() 382 const grpc_resolved_address* addr, in tcp_server_add_port() 385 grpc_resolved_address sockname_temp; in tcp_server_add_port() 386 grpc_resolved_address addr6_v4mapped; in tcp_server_add_port() 409 memcpy(&sockname_temp, addr, sizeof(grpc_resolved_address)); in tcp_server_add_port()
|
D | tcp_client.h | 34 const grpc_resolved_address* addr, grpc_millis deadline); 45 const grpc_resolved_address* addr,
|
/external/grpc-grpc/test/core/iomgr/ |
D | sockaddr_utils_test.cc | 35 static grpc_resolved_address make_addr4(const uint8_t* data, size_t data_len) { in make_addr4() 36 grpc_resolved_address resolved_addr4; in make_addr4() 48 static grpc_resolved_address make_addr6(const uint8_t* data, size_t data_len) { in make_addr6() 49 grpc_resolved_address resolved_addr6; in make_addr6() 61 static void set_addr6_scope_id(grpc_resolved_address* addr, uint32_t scope_id) { in set_addr6_scope_id() 78 grpc_resolved_address input4; in test_sockaddr_is_v4mapped() 79 grpc_resolved_address input6; in test_sockaddr_is_v4mapped() 80 grpc_resolved_address output4; in test_sockaddr_is_v4mapped() 81 grpc_resolved_address expect4; in test_sockaddr_is_v4mapped() 105 grpc_resolved_address input4; in test_sockaddr_to_v4mapped() [all …]
|
D | udp_server_test.cc | 142 const grpc_resolved_address* addr) { in test_socket_factory_bind() 210 grpc_resolved_address resolved_addr; in test_no_op_with_port() 234 grpc_resolved_address resolved_addr; in test_no_op_with_port_and_socket_factory() 270 grpc_resolved_address resolved_addr; in test_no_op_with_port_and_start() 296 grpc_resolved_address resolved_addr; in test_receive()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | parse_address.h | 31 bool grpc_parse_unix(const grpc_uri* uri, grpc_resolved_address* resolved_addr); 35 bool grpc_parse_ipv4(const grpc_uri* uri, grpc_resolved_address* resolved_addr); 39 bool grpc_parse_ipv6(const grpc_uri* uri, grpc_resolved_address* resolved_addr); 42 bool grpc_parse_uri(const grpc_uri* uri, grpc_resolved_address* resolved_addr); 45 bool grpc_parse_ipv4_hostport(const char* hostport, grpc_resolved_address* addr, 47 bool grpc_parse_ipv6_hostport(const char* hostport, grpc_resolved_address* addr,
|
D | proxy_mapper.h | 45 const grpc_resolved_address* address, 47 grpc_resolved_address** new_address, 67 const grpc_resolved_address* address, 69 grpc_resolved_address** new_address,
|
D | parse_address.cc | 41 grpc_resolved_address* resolved_addr) { in grpc_parse_unix() 60 grpc_resolved_address* resolved_addr) { in grpc_parse_unix() 66 bool grpc_parse_ipv4_hostport(const char* hostport, grpc_resolved_address* addr, in grpc_parse_ipv4_hostport() 101 grpc_resolved_address* resolved_addr) { in grpc_parse_ipv4() 112 bool grpc_parse_ipv6_hostport(const char* hostport, grpc_resolved_address* addr, in grpc_parse_ipv6_hostport() 185 grpc_resolved_address* resolved_addr) { in grpc_parse_ipv6() 196 bool grpc_parse_uri(const grpc_uri* uri, grpc_resolved_address* resolved_addr) { in grpc_parse_uri()
|
D | proxy_mapper_registry.cc | 66 grpc_proxy_mapper_list* list, const grpc_resolved_address* address, in grpc_proxy_mapper_list_map_address() 67 const grpc_channel_args* args, grpc_resolved_address** new_address, in grpc_proxy_mapper_list_map_address() 116 bool grpc_proxy_mappers_map_address(const grpc_resolved_address* address, in grpc_proxy_mappers_map_address() 118 grpc_resolved_address** new_address, in grpc_proxy_mappers_map_address()
|
D | proxy_mapper_registry.h | 39 bool grpc_proxy_mappers_map_address(const grpc_resolved_address* address, 41 grpc_resolved_address** new_address,
|
D | proxy_mapper.cc | 38 const grpc_resolved_address* address, in grpc_proxy_mapper_map_address() 40 grpc_resolved_address** new_address, in grpc_proxy_mapper_map_address()
|
/external/grpc-grpc/test/core/client_channel/ |
D | parse_address_test.cc | 40 grpc_resolved_address addr; in test_grpc_parse_unix() 61 grpc_resolved_address addr; in test_grpc_parse_ipv4() 79 grpc_resolved_address addr; in test_grpc_parse_ipv6() 98 grpc_resolved_address addr; in test_grpc_parse_ipv6_invalid()
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | grpc_gevent.pxd.pxi | 38 grpc_resolved_address* addrs 40 ctypedef struct grpc_resolved_address: 118 int grpc_sockaddr_get_port(const grpc_resolved_address *addr); 119 int grpc_sockaddr_to_string(char **out, const grpc_resolved_address *addr, 121 void grpc_string_to_sockaddr(grpc_resolved_address *out, char* addr, int port); 122 int grpc_sockaddr_set_port(const grpc_resolved_address *resolved_addr, 124 const char* grpc_sockaddr_get_uri_scheme(const grpc_resolved_address* resolved_addr)
|