19 #ifndef GRPC_CORE_LIB_IOMGR_TCP_CUSTOM_H
20 #define GRPC_CORE_LIB_IOMGR_TCP_CUSTOM_H
62 const grpc_sockaddr* addr,
int* len);
64 const grpc_sockaddr* addr,
int* len);
66 size_t len,
int flags);
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:677
Definition: tcp_custom.h:30
grpc_custom_tcp_connect * connector
Definition: tcp_custom.h:35
void * impl
Definition: tcp_custom.h:32
grpc_tcp_listener * listener
Definition: tcp_custom.h:34
int refs
Definition: tcp_custom.h:36
grpc_endpoint * endpoint
Definition: tcp_custom.h:33
Definition: endpoint.h:102
Definition: error_internal.h:39
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
Definition: tcp_custom.h:50
void(* destroy)(grpc_custom_socket *socket)
Definition: tcp_custom.h:54
void(* close)(grpc_custom_socket *socket, grpc_custom_close_callback cb)
Definition: tcp_custom.h:56
void(* write)(grpc_custom_socket *socket, grpc_slice_buffer *slices, grpc_custom_write_callback cb)
Definition: tcp_custom.h:57
void(* accept)(grpc_custom_socket *socket, grpc_custom_socket *client, grpc_custom_accept_callback cb)
Definition: tcp_custom.h:68
void(* read)(grpc_custom_socket *socket, char *buffer, size_t length, grpc_custom_read_callback cb)
Definition: tcp_custom.h:59
void(* shutdown)(grpc_custom_socket *socket)
Definition: tcp_custom.h:55
void(* connect)(grpc_custom_socket *socket, const grpc_sockaddr *addr, size_t len, grpc_custom_connect_callback cb)
Definition: tcp_custom.h:52
Definition: tcp_server_utils_posix.h:30
void(* grpc_custom_connect_callback)(grpc_custom_socket *socket, grpc_error *error)
Definition: tcp_custom.h:39
void(* grpc_custom_close_callback)(grpc_custom_socket *socket)
Definition: tcp_custom.h:48
void grpc_custom_endpoint_init(grpc_socket_vtable *impl)
void(* grpc_custom_write_callback)(grpc_custom_socket *socket, grpc_error *error)
Definition: tcp_custom.h:41
void grpc_custom_close_server_callback(grpc_tcp_listener *listener)
void(* grpc_custom_read_callback)(grpc_custom_socket *socket, size_t nread, grpc_error *error)
Definition: tcp_custom.h:43
grpc_endpoint * custom_tcp_endpoint_create(grpc_custom_socket *socket, grpc_resource_quota *resource_quota, char *peer_string)
struct grpc_custom_tcp_connect grpc_custom_tcp_connect
Definition: tcp_custom.h:28
struct grpc_socket_vtable grpc_socket_vtable
void(* grpc_custom_accept_callback)(grpc_custom_socket *socket, grpc_custom_socket *client, grpc_error *error)
Definition: tcp_custom.h:45
struct grpc_custom_socket grpc_custom_socket