GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include "absl/strings/string_view.h"
#include "src/core/lib/iomgr/resolve_address.h"
#include "src/core/lib/uri/uri_parser.h"
Go to the source code of this file.
Namespaces | |
grpc_core | |
Round Robin Policy. | |
Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
bool | grpc_parse_uri (const grpc_core::URI &uri, grpc_resolved_address *resolved_addr) |
Populate resolved_addr from uri. More... | |
bool | grpc_parse_ipv4_hostport (absl::string_view hostport, grpc_resolved_address *addr, bool log_errors) |
Parse bare IPv4 or IPv6 "IP:port" strings. More... | |
bool | grpc_parse_ipv6_hostport (absl::string_view hostport, grpc_resolved_address *addr, bool log_errors) |
uint16_t | grpc_strhtons (const char *port) |
grpc_error_handle | grpc_core::UnixSockaddrPopulate (absl::string_view path, grpc_resolved_address *resolved_addr) |
Populate resolved_addr to be a unix socket at |path|. More... | |
grpc_error_handle | grpc_core::UnixAbstractSockaddrPopulate (absl::string_view path, grpc_resolved_address *resolved_addr) |
Populate resolved_addr to be a unix socket in the abstract namespace at |path|. More... | |
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.
bool grpc_parse_ipv4_hostport | ( | absl::string_view | hostport, |
grpc_resolved_address * | addr, | ||
bool | log_errors | ||
) |
Parse bare IPv4 or IPv6 "IP:port" strings.
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.
bool grpc_parse_ipv6_hostport | ( | absl::string_view | hostport, |
grpc_resolved_address * | addr, | ||
bool | log_errors | ||
) |
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.
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.
bool grpc_parse_uri | ( | const grpc_core::URI & | uri, |
grpc_resolved_address * | resolved_addr | ||
) |
Populate resolved_addr from uri.
Returns true upon success.
uint16_t grpc_strhtons | ( | const char * | port | ) |