Searched refs:GRPC_AF_INET (Results 1 – 15 of 15) sorted by relevance
61 addr4_out->sin_family = GRPC_AF_INET; in grpc_sockaddr_is_v4mapped()81 if (addr->sa_family == GRPC_AF_INET) { in grpc_sockaddr_to_v4mapped()103 if (addr->sa_family == GRPC_AF_INET) { in grpc_sockaddr_is_wildcard()141 wild_out->sin_family = GRPC_AF_INET; in grpc_sockaddr_make_wildcard4()169 if (addr->sa_family == GRPC_AF_INET) { in grpc_sockaddr_to_string()209 } else if (grpc_inet_pton(GRPC_AF_INET, addr, &addr4->sin_addr) == 1) { in grpc_string_to_sockaddr()210 addr4->sin_family = GRPC_AF_INET; in grpc_string_to_sockaddr()242 case GRPC_AF_INET: in grpc_sockaddr_get_uri_scheme()262 case GRPC_AF_INET: in grpc_sockaddr_get_port()281 case GRPC_AF_INET: in grpc_sockaddr_set_port()
47 #define GRPC_AF_INET AF_INET macro
48 #define GRPC_AF_INET AF_INET macro
167 in->sin_family = GRPC_AF_INET; in grpc_parse_ipv4_hostport()168 if (grpc_inet_pton(GRPC_AF_INET, host.c_str(), &in->sin_addr) == 0) { in grpc_parse_ipv4_hostport()
66 GPR_ASSERT(GRPC_AF_INET == addr_in->sin_family); in test_grpc_parse_ipv4()67 GPR_ASSERT(nullptr != grpc_inet_ntop(GRPC_AF_INET, &addr_in->sin_addr, in test_grpc_parse_ipv4()
88 in->sin_family = GRPC_AF_INET; in grpc_parse_ipv4_hostport()89 if (grpc_inet_pton(GRPC_AF_INET, host.c_str(), &in->sin_addr) == 0) { in grpc_parse_ipv4_hostport()
63 addr->sin_family = GRPC_AF_INET; in test_tcp_server_start()
91 sa->sin_family = GRPC_AF_INET; in my_resolve_address()132 sa.sin_family = GRPC_AF_INET; in my_dns_lookup_ares_locked()
90 } else if (type == LOCAL_TCP && sock_addr->sa_family == GRPC_AF_INET) { in local_check_peer()
40 addr4->sin_family = GRPC_AF_INET; in make_addr4()
144 addr->sa_family = GRPC_AF_INET; in bad_server_thread()
157 if (addr->sa_family == GRPC_AF_INET) { in GetCensusSafeClientIpString()
623 addr->sin_family = GRPC_AF_INET; in grpc_end2end_http_proxy_create()
501 addr4->sin_family = GRPC_AF_INET; in ParseServer()