Skip to contentSkip to conversation

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

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

Subsystems (4)

v5 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Shirley Ma

author
#0 lore raw

PATCH v5 1/6 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 f2046e4..2229bd1 100644
@@ -563,6 +563,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)