diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-27 12:56:56 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-27 12:56:56 -0800 |
commit | 66b2005cbb322bc1d783b90a574b0e14df906bcb (patch) | |
tree | 0cb04777d6c51e9cfbe65c48db39ccf606e4f116 /src/core/lib/iomgr/internal_errqueue.h | |
parent | a93b6012cc1ae0259118ba5bb4eff4c8634bd18c (diff) |
Enable errqueue support for linux kernel versions 4.0.0 and above
Diffstat (limited to 'src/core/lib/iomgr/internal_errqueue.h')
-rw-r--r-- | src/core/lib/iomgr/internal_errqueue.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/internal_errqueue.h b/src/core/lib/iomgr/internal_errqueue.h index 9d122808f9..f8644c2536 100644 --- a/src/core/lib/iomgr/internal_errqueue.h +++ b/src/core/lib/iomgr/internal_errqueue.h @@ -76,8 +76,14 @@ constexpr uint32_t kTimestampingRecordingOptions = * Currently allowing only linux kernels above 4.0.0 */ bool kernel_supports_errqueue(); -} // namespace grpc_core + +} /* namespace grpc_core */ #endif /* GRPC_POSIX_SOCKET_TCP */ +namespace grpc_core { +/* Initializes errqueue support */ +void grpc_errqueue_init(); +} /* namespace grpc_core */ + #endif /* GRPC_CORE_LIB_IOMGR_INTERNAL_ERRQUEUE_H */ |