Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libsockin use in_control() for PRU_CONTROL
details: https://anonhg.NetBSD.org/src/rev/434e855eb45b
branches: trunk
changeset: 759309:434e855eb45b
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Dec 05 15:54:50 2010 +0000
description:
use in_control() for PRU_CONTROL
diffstat:
sys/rump/net/lib/libsockin/sockin.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 21adc8ddb7d6 -r 434e855eb45b sys/rump/net/lib/libsockin/sockin.c
--- a/sys/rump/net/lib/libsockin/sockin.c Sun Dec 05 13:33:50 2010 +0000
+++ b/sys/rump/net/lib/libsockin/sockin.c Sun Dec 05 15:54:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sockin.c,v 1.22 2010/04/05 07:22:50 joerg Exp $ */
+/* $NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $ */
/*
* Copyright (c) 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.22 2010/04/05 07:22:50 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sockin.c,v 1.23 2010/12/05 15:54:50 pooka Exp $");
#include <sys/param.h>
#include <sys/condvar.h>
@@ -49,6 +49,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <netinet/in_var.h>
#include <rump/rumpuser.h>
@@ -490,6 +491,10 @@
break;
}
+ case PRU_CONTROL:
+ return in_control(so, (long)m, (void *)nam,
+ (struct ifnet *)control, l);
+
default:
panic("sockin_usrreq: IMPLEMENT ME, req %d not supported", req);
}
Home |
Main Index |
Thread Index |
Old Index