Skip to contentSkip to conversation

Add a new sock flag for zero-copy

RFC PATCH In review Shirley Ma 1 participant 1 message Dec 10, 2010

Subsystems (4)
lore
Share & tools
lore

Shirley Ma

author
#0 lore raw

RFC PATCH v2 1/5 Add a new sock flag for zero-copy

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