#include <grpc/support/port_platform.h>
#include <stdint.h>
#include "absl/strings/string_view.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/resolved_address.h"
#include "src/core/lib/uri/uri_parser.h"
Go to the source code of this file.
Namespaces | |
grpc_core | |
bool grpc_parse_ipv4 | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri, whose path is expected to contain an IPv4 host:port pair. Returns true upon success.
Definition at line 187 of file parse_address.cc.
bool grpc_parse_ipv4_hostport | ( | absl::string_view | hostport, |
grpc_resolved_address * | addr, | ||
bool | log_errors | ||
) |
Parse bare IPv4 or IPv6 "IP:port" strings.
Definition at line 146 of file parse_address.cc.
bool grpc_parse_ipv6 | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri, whose path is expected to contain an IPv6 host:port pair. Returns true upon success.
Definition at line 282 of file parse_address.cc.
bool grpc_parse_ipv6_hostport | ( | absl::string_view | hostport, |
grpc_resolved_address * | addr, | ||
bool | log_errors | ||
) |
Definition at line 198 of file parse_address.cc.
bool grpc_parse_unix | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri, whose path is expected to contain a unix socket path. Returns true upon success.
Definition at line 121 of file parse_address.cc.
bool grpc_parse_unix_abstract | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri, whose path is expected to contain a unix socket path in the abstract namespace. Returns true upon success.
Definition at line 126 of file parse_address.cc.
bool grpc_parse_uri | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri. Returns true upon success.
Definition at line 293 of file parse_address.cc.
Definition at line 311 of file parse_address.cc.
grpc_error_handle grpc_string_to_sockaddr | ( | grpc_resolved_address * | out, |
const char * | addr, | ||
int | port | ||
) |
Definition at line 320 of file parse_address.cc.