summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorShirley Ma <mashirle@us.ibm.com>2011-07-06 12:17:30 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-07 04:40:21 -0700
commit1cdebb423202e255366a321814fc6df079802a0d (patch)
tree9656b45cf71a24ad8b0ce743b8b9f975a2000b3e /include/net
parent380b153cf59a5610ca97319fdb9601b8c453ece0 (diff)
downloadlwn-1cdebb423202e255366a321814fc6df079802a0d.tar.gz
lwn-1cdebb423202e255366a321814fc6df079802a0d.zip
sock.h: Add a new sock zero-copy flag
Signed-off-by: Shirley Ma <xma@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index ae56da6ec958..396f735e0cd5 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -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)