From f65241ff0bbe51c8b1fca42633afebe776312538 Mon Sep 17 00:00:00 2001 From: Dan Melnic Date: Wed, 16 Aug 2023 13:19:12 -0700 Subject: [PATCH] Use WriteOptions instead of a single int to allow for txTime setting too Summary: Use WriteOptions instead of a single int to allow for txTime setting too Reviewed By: mjoras Differential Revision: D48218906 fbshipit-source-id: 00a1d4905b54ec0614860f9cdd8b58c9d6e6ef9a --- proxygen/lib/transport/H3DatagramAsyncSocket.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxygen/lib/transport/H3DatagramAsyncSocket.h b/proxygen/lib/transport/H3DatagramAsyncSocket.h index 7a48e90ccf..eb4d49b0cb 100644 --- a/proxygen/lib/transport/H3DatagramAsyncSocket.h +++ b/proxygen/lib/transport/H3DatagramAsyncSocket.h @@ -97,7 +97,7 @@ class H3DatagramAsyncSocket ssize_t writeGSO(const folly::SocketAddress& /*address*/, const std::unique_ptr& /*buf*/, - int /*gso*/) override { + folly::AsyncUDPSocket::WriteOptions /*options*/) override { return -1; } @@ -110,14 +110,14 @@ class H3DatagramAsyncSocket int writemGSO(folly::Range /*addrs*/, const std::unique_ptr* /*bufs*/, size_t /*count*/, - const int* /*gso*/) override { + const WriteOptions* /*options*/) override { return -1; } ssize_t writev(const folly::SocketAddress& /*address*/, const struct iovec* /*vec*/, size_t /*iovec_len*/, - int /*gso*/) override { + folly::AsyncUDPSocket::WriteOptions /*options*/) override { return -1; }