Add SO_ZEROCOPY support
[folly.git] / folly / io / async / AsyncTransport.h
index ca5cc4d2b4b2ae9b1eb1be56e1c1c49cc038102d..c42888da211144eff5bbb1042a3b40e5cbc93074 100644 (file)
@@ -60,6 +60,10 @@ enum class WriteFlags : uint32_t {
    * this indicates that only the write side of socket should be shutdown
    */
   WRITE_SHUTDOWN = 0x04,
+  /*
+   * use msg zerocopy if allowed
+   */
+  WRITE_MSG_ZEROCOPY = 0x08,
 };
 
 /*