diff options
author | Shirley Ma <mashirle@us.ibm.com> | 2011-07-06 08:17:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 07:40:21 -0400 |
commit | 1cdebb423202e255366a321814fc6df079802a0d (patch) | |
tree | 9656b45cf71a24ad8b0ce743b8b9f975a2000b3e /include/net | |
parent | 380b153cf59a5610ca97319fdb9601b8c453ece0 (diff) |
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.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 { | |||
563 | SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */ | 563 | SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */ |
564 | SOCK_FASYNC, /* fasync() active */ | 564 | SOCK_FASYNC, /* fasync() active */ |
565 | SOCK_RXQ_OVFL, | 565 | SOCK_RXQ_OVFL, |
566 | SOCK_ZEROCOPY, /* buffers from userspace */ | ||
566 | }; | 567 | }; |
567 | 568 | ||
568 | static inline void sock_copy_flags(struct sock *nsk, struct sock *osk) | 569 | static inline void sock_copy_flags(struct sock *nsk, struct sock *osk) |