Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/common Add SIOCGIFMTU support.
details: https://anonhg.NetBSD.org/src/rev/859f2f672fab
branches: trunk
changeset: 749840:859f2f672fab
user: njoly <njoly%NetBSD.org@localhost>
date: Thu Dec 10 17:07:26 2009 +0000
description:
Add SIOCGIFMTU support.
diffstat:
sys/compat/linux32/common/linux32_socket.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 0bdc599408cd -r 859f2f672fab sys/compat/linux32/common/linux32_socket.c
--- a/sys/compat/linux32/common/linux32_socket.c Thu Dec 10 16:55:17 2009 +0000
+++ b/sys/compat/linux32/common/linux32_socket.c Thu Dec 10 17:07:26 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_socket.c,v 1.13 2009/12/10 16:55:17 njoly Exp $ */
+/* $NetBSD: linux32_socket.c,v 1.14 2009/12/10 17:07:26 njoly Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.13 2009/12/10 16:55:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.14 2009/12/10 17:07:26 njoly Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -656,6 +656,9 @@
case LINUX_SIOCGIFNETMASK:
SCARG(&ia, com) = OOSIOCGIFNETMASK32;
break;
+ case LINUX_SIOCGIFMTU:
+ SCARG(&ia, com) = OSIOCGIFMTU32;
+ break;
case LINUX_SIOCADDMULTI:
SCARG(&ia, com) = OSIOCADDMULTI32;
break;
Home |
Main Index |
Thread Index |
Old Index