Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpnet Remove stubs which have been provid...
details: https://anonhg.NetBSD.org/src/rev/35103f8b694c
branches: trunk
changeset: 780764:35103f8b694c
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Aug 05 15:36:19 2012 +0000
description:
Remove stubs which have been provided elsewhere for almost 2 years now.
diffstat:
sys/rump/librump/rumpnet/net_stub.c | 25 ++-----------------------
1 files changed, 2 insertions(+), 23 deletions(-)
diffs (49 lines):
diff -r 559bbdfc6a90 -r 35103f8b694c sys/rump/librump/rumpnet/net_stub.c
--- a/sys/rump/librump/rumpnet/net_stub.c Sun Aug 05 15:35:32 2012 +0000
+++ b/sys/rump/librump/rumpnet/net_stub.c Sun Aug 05 15:36:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net_stub.c,v 1.12 2011/02/01 01:39:21 matt Exp $ */
+/* $NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.12 2011/02/01 01:39:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $");
#include <sys/param.h>
#include <sys/protosw.h>
@@ -72,30 +72,9 @@
struct ifnet_head ifnet;
-u_long
-compat_cvtcmd(u_long cmd)
-{
-
- return cmd;
-}
-
int
compat_ifconf(u_long cmd, void *data)
{
return EOPNOTSUPP;
}
-
-int
-compat_ifioctl(struct socket *so, u_long ocmd, u_long cmd, void *data,
- struct lwp *l)
-{
- struct ifreq *ifr = data;
- struct ifnet *ifp = ifunit(ifr->ifr_name);
-
- if (!ifp)
- return ENXIO;
-
- return (*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
- (struct mbuf *)cmd, (struct mbuf *)data, (struct mbuf *)ifp, l);
-}
Home |
Main Index |
Thread Index |
Old Index