diff options
author | Shirley Ma <mashirle@us.ibm.com> | 2011-07-06 12:17:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 04:40:21 -0700 |
commit | 1cdebb423202e255366a321814fc6df079802a0d (patch) | |
tree | 9656b45cf71a24ad8b0ce743b8b9f975a2000b3e /include/net/sock.h | |
parent | 380b153cf59a5610ca97319fdb9601b8c453ece0 (diff) | |
download | linux-1cdebb423202e255366a321814fc6df079802a0d.tar.bz2 |
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/sock.h')
-rw-r--r-- | include/net/sock.h | 1 |
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) |