Skip to content

Commit

Permalink
sock.h: Add a new sock zero-copy flag
Browse files Browse the repository at this point in the history
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shirley Ma authored and davem330 committed Jul 7, 2011
1 parent 380b153 commit 1cdebb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1cdebb4

Please sign in to comment.