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 Partially revert previous, there are still ...
details: https://anonhg.NetBSD.org/src/rev/87a482b30b02
branches: trunk
changeset: 789314:87a482b30b02
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Aug 14 09:55:05 2013 +0000
description:
Partially revert previous, there are still a few gotchas in
running ipv4/ipv6-only (too many dependencies on ifdefs).
diffstat:
sys/rump/net/lib/libnetinet/component.c | 7 ++++---
sys/rump/net/lib/libnetinet6/component.c | 6 ++++--
2 files changed, 8 insertions(+), 5 deletions(-)
diffs (64 lines):
diff -r d302b88adbdc -r 87a482b30b02 sys/rump/net/lib/libnetinet/component.c
--- a/sys/rump/net/lib/libnetinet/component.c Wed Aug 14 09:31:41 2013 +0000
+++ b/sys/rump/net/lib/libnetinet/component.c Wed Aug 14 09:55:05 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: component.c,v 1.7 2013/08/14 09:31:42 pooka Exp $ */
+/* $NetBSD: component.c,v 1.8 2013/08/14 09:55:05 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.7 2013/08/14 09:31:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.8 2013/08/14 09:55:05 pooka Exp $");
#include <sys/param.h>
#include <sys/domain.h>
@@ -46,10 +46,11 @@
RUMP_COMPONENT(RUMP_COMPONENT_NET)
{
- extern struct domain arpdomain, inetdomain;
+ extern struct domain arpdomain, inetdomain, inet6domain;
DOMAINADD(arpdomain);
DOMAINADD(inetdomain);
+ DOMAINADD(inet6domain);
carpattach(1);
}
diff -r d302b88adbdc -r 87a482b30b02 sys/rump/net/lib/libnetinet6/component.c
--- a/sys/rump/net/lib/libnetinet6/component.c Wed Aug 14 09:31:41 2013 +0000
+++ b/sys/rump/net/lib/libnetinet6/component.c Wed Aug 14 09:55:05 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: component.c,v 1.1 2013/08/14 09:31:42 pooka Exp $ */
+/* $NetBSD: component.c,v 1.2 2013/08/14 09:55:05 pooka Exp $ */
/*
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2013/08/14 09:31:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2013/08/14 09:55:05 pooka Exp $");
#include <sys/param.h>
#include <sys/domain.h>
@@ -38,12 +38,14 @@
#include "rump_private.h"
#include "rump_net_private.h"
+#ifdef notyet
RUMP_COMPONENT(RUMP_COMPONENT_NET)
{
extern struct domain inet6domain;
DOMAINADD(inet6domain);
}
+#endif
RUMP_COMPONENT(RUMP_COMPONENT_NET_IFCFG)
{
Home |
Main Index |
Thread Index |
Old Index