GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/port.h"
#include <limits.h>
#include <string.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/iomgr_custom.h"
#include "src/core/lib/iomgr/resource_quota.h"
#include "src/core/lib/iomgr/tcp_client.h"
#include "src/core/lib/iomgr/tcp_custom.h"
#include "src/core/lib/iomgr/tcp_server.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
Data Structures | |
struct | custom_tcp_endpoint |
Macros | |
#define | GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192 |
#define | TCP_UNREF(tcp, reason) tcp_unref((tcp), (reason), __FILE__, __LINE__) |
#define | TCP_REF(tcp, reason) tcp_ref((tcp), (reason), __FILE__, __LINE__) |
Functions | |
void | grpc_custom_endpoint_init (grpc_socket_vtable *impl) |
grpc_endpoint * | custom_tcp_endpoint_create (grpc_custom_socket *socket, grpc_resource_quota *resource_quota, const char *peer_string) |
Variables | |
grpc_core::TraceFlag | grpc_tcp_trace |
grpc_socket_vtable * | grpc_custom_socket_vtable = nullptr |
grpc_tcp_server_vtable | custom_tcp_server_vtable |
grpc_tcp_client_vtable | custom_tcp_client_vtable |
#define GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192 |
#define TCP_REF | ( | tcp, | |
reason | |||
) | tcp_ref((tcp), (reason), __FILE__, __LINE__) |
#define TCP_UNREF | ( | tcp, | |
reason | |||
) | tcp_unref((tcp), (reason), __FILE__, __LINE__) |
grpc_endpoint* custom_tcp_endpoint_create | ( | grpc_custom_socket * | socket, |
grpc_resource_quota * | resource_quota, | ||
const char * | peer_string | ||
) |
void grpc_custom_endpoint_init | ( | grpc_socket_vtable * | impl | ) |
|
extern |
|
extern |
grpc_socket_vtable* grpc_custom_socket_vtable = nullptr |
|
extern |