19 #ifndef GRPC_CORE_LIB_IOMGR_SOCKET_UTILS_POSIX_H
20 #define GRPC_CORE_LIB_IOMGR_SOCKET_UTILS_POSIX_H
26 #include <sys/socket.h>
138 int type,
int protocol,
grpc_dualstack_mode
Definition: socket_utils_posix.h:103
@ GRPC_DSMODE_IPV6
Definition: socket_utils_posix.h:109
@ GRPC_DSMODE_DUALSTACK
Definition: socket_utils_posix.h:111
@ GRPC_DSMODE_IPV4
Definition: socket_utils_posix.h:107
@ GRPC_DSMODE_NONE
Definition: socket_utils_posix.h:105
grpc_error * grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes)
void config_default_tcp_user_timeout(bool enable, int timeout, bool is_client)
grpc_error * grpc_set_socket_nonblocking(int fd, int non_blocking)
grpc_error * grpc_apply_socket_mutator_in_args(int fd, const grpc_channel_args *args)
int grpc_forbid_dualstack_sockets_for_testing
grpc_error * grpc_set_socket_reuse_port(int fd, int reuse)
grpc_error * grpc_set_socket_reuse_addr(int fd, int reuse)
grpc_error * grpc_set_socket_ipv6_recvpktinfo_if_possible(int fd)
grpc_error * grpc_create_dualstack_socket(const grpc_resolved_address *addr, int type, int protocol, grpc_dualstack_mode *dsmode, int *newfd)
grpc_error * grpc_set_socket_low_latency(int fd, int low_latency)
grpc_error * grpc_set_socket_with_mutator(int fd, grpc_socket_mutator *mutator)
grpc_error * grpc_set_socket_ip_pktinfo_if_possible(int fd)
bool grpc_is_socket_reuse_port_supported()
grpc_error * grpc_set_socket_tcp_user_timeout(int fd, const grpc_channel_args *channel_args, bool is_client)
grpc_error * grpc_set_socket_cloexec(int fd, int close_on_exec)
grpc_error * grpc_create_dualstack_socket_using_factory(grpc_socket_factory *factory, const grpc_resolved_address *addr, int type, int protocol, grpc_dualstack_mode *dsmode, int *newfd)
int grpc_accept4(int sockfd, grpc_resolved_address *resolved_addr, int nonblock, int cloexec)
int grpc_ipv6_loopback_available(void)
grpc_error * grpc_set_socket_sndbuf(int fd, int buffer_size_bytes)
grpc_error * grpc_set_socket_no_sigpipe_if_possible(int fd)
An array of arguments that can be passed around.
Definition: grpc_types.h:132
Definition: error_internal.h:39
Definition: resolve_address.h:44
The Socket Factory interface allows changes on socket options.
Definition: socket_factory_posix.h:43
The Socket Mutator interface allows changes on socket options.
Definition: socket_mutator.h:40