Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/alpha Add missing specific LINUX_SOCK_...



details:   https://anonhg.NetBSD.org/src/rev/e34c242d0721
branches:  trunk
changeset: 329411:e34c242d0721
user:      njoly <njoly%NetBSD.org@localhost>
date:      Fri May 23 12:30:12 2014 +0000

description:
Add missing specific LINUX_SOCK_NONBLOCK value for alpha.

diffstat:

 sys/compat/linux/arch/alpha/linux_socket.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 046993c97bdc -r e34c242d0721 sys/compat/linux/arch/alpha/linux_socket.h
--- a/sys/compat/linux/arch/alpha/linux_socket.h        Fri May 23 12:28:51 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_socket.h        Fri May 23 12:30:12 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_socket.h,v 1.5 2014/01/25 13:49:27 njoly Exp $   */
+/*     $NetBSD: linux_socket.h,v 1.6 2014/05/23 12:30:12 njoly Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -89,4 +89,10 @@
 #define LINUX_SO_PEEK_OFF      42
 #define LINUX_SO_NOFCS         43
 
+/*
+ * Flags for socket().
+ * These are provided in the "type" parameter.
+ */
+#define LINUX_SOCK_NONBLOCK    0x40000000
+
 #endif /* !_ALPHA_LINUX_SOCKET_H */



Home | Main Index | Thread Index | Old Index