diff options
author | Yuchen Zeng <zyc@google.com> | 2016-10-11 18:36:24 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-10-11 18:36:24 -0700 |
commit | a4f708a4c4af88e114209eb29f625c4d4d935bb4 (patch) | |
tree | 05242ed8fac0f07d4331878cebb10afff2e214cc /src/core/lib/iomgr/socket_utils_posix.h | |
parent | b5273fdb7354942a4deab0e2228de493ae40721e (diff) |
Introduce grpc_socket_mutator
Diffstat (limited to 'src/core/lib/iomgr/socket_utils_posix.h')
-rw-r--r-- | src/core/lib/iomgr/socket_utils_posix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/socket_utils_posix.h b/src/core/lib/iomgr/socket_utils_posix.h index bf4cc96af2..d84a95d3d3 100644 --- a/src/core/lib/iomgr/socket_utils_posix.h +++ b/src/core/lib/iomgr/socket_utils_posix.h @@ -87,8 +87,8 @@ grpc_error *grpc_set_socket_sndbuf(int fd, int buffer_size_bytes); /* Tries to set the socket's receive buffer to given size. */ grpc_error *grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes); -/* Tries to set the socket's type to service */ -grpc_error *grpc_set_socket_tos(int fd, grpc_arg *arg); +/* Tries to set the socket using a grpc_socket_mutator */ +grpc_error *grpc_set_socket_with_mutator(int fd, grpc_socket_mutator *mutator); /* An enum to keep track of IPv4/IPv6 socket modes. |