Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common Add SO_SNDLOWAT, SO_RCVLOWAT and SO_...
details: https://anonhg.NetBSD.org/src/rev/f1f11a762959
branches: trunk
changeset: 326366:f1f11a762959
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Jan 27 13:23:33 2014 +0000
description:
Add SO_SNDLOWAT, SO_RCVLOWAT and SO_ACCEPTCONN support for socket
options.
diffstat:
sys/compat/linux/common/linux_socket.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 45a0ab149fd0 -r f1f11a762959 sys/compat/linux/common/linux_socket.c
--- a/sys/compat/linux/common/linux_socket.c Mon Jan 27 13:22:55 2014 +0000
+++ b/sys/compat/linux/common/linux_socket.c Mon Jan 27 13:23:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.c,v 1.115 2013/01/11 19:01:36 christos Exp $ */
+/* $NetBSD: linux_socket.c,v 1.116 2014/01/27 13:23:33 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.115 2013/01/11 19:01:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.116 2014/01/27 13:23:33 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -873,12 +873,18 @@
return SO_SNDBUF;
case LINUX_SO_RCVBUF:
return SO_RCVBUF;
+ case LINUX_SO_SNDLOWAT:
+ return SO_SNDLOWAT;
+ case LINUX_SO_RCVLOWAT:
+ return SO_RCVLOWAT;
case LINUX_SO_KEEPALIVE:
return SO_KEEPALIVE;
case LINUX_SO_OOBINLINE:
return SO_OOBINLINE;
case LINUX_SO_LINGER:
return SO_LINGER;
+ case LINUX_SO_ACCEPTCONN:
+ return SO_ACCEPTCONN;
case LINUX_SO_PRIORITY:
case LINUX_SO_NO_CHECK:
default:
Home |
Main Index |
Thread Index |
Old Index