Skip to contentSkip to conversation

sock.h: Add a new sock zero-copy flag

PATCH Superseded Shirley Ma 1 participant 1 message May 4, 2011

Subsystems (4)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Shirley Ma

author
#0 lore raw

PATCH v4 1/8 sock.h: Add a new sock zero-copy flag

---

 include/net/sock.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/net/sock.h +1 -0
index 01810a3..ab09097 100644
@@ -562,6 +562,7 @@ enum sock_flags {
 	SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */
 	SOCK_FASYNC, /* fasync() active */
 	SOCK_RXQ_OVFL,
+	SOCK_ZEROCOPY, /* buffers from userspace */
 };
 
 static inline void sock_copy_flags(struct sock *nsk, struct sock *osk)