]> Git Repo - linux.git/commitdiff
sock.h: Add a new sock zero-copy flag
authorShirley Ma <[email protected]>
Wed, 6 Jul 2011 12:17:30 +0000 (12:17 +0000)
committerDavid S. Miller <[email protected]>
Thu, 7 Jul 2011 11:40:21 +0000 (04:40 -0700)
Signed-off-by: Shirley Ma <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/sock.h

index ae56da6ec958536c4c489229bde8e8c37fa893ae..396f735e0cd5994fc72abafbaa08420967c57def 100644 (file)
@@ -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)
This page took 0.046837 seconds and 4 git commands to generate.