summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2011-03-31 19:40:51 +0000
committerdyoung <dyoung@NetBSD.org>2011-03-31 19:40:51 +0000
commitfa9c652eb0c8af1615070dd33cb2f4dd35d04d8a (patch)
tree75f8482fa3d94dbf9ad2eb5d4da3d0fcf9b1fc87 /sys/netinet6
parentc1b7bacbb7b9e671a76cb9376bf0dbd177c9f946 (diff)
Hide the radix-trie implementation of the forwarding table so that we
will have an easier time replacing it with something different, even if it is a second radix-trie implementation. sys/net/route.c and sys/net/rtsock.c no longer operate directly on radix_nodes or radix_node_heads. Hopefully this will reduce the temptation to implement multipath or source-based routing using grotty hacks to the grotty old radix-trie code, too. :-)
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_proto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index ec3c5b47771..56f860bcb5e 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_proto.c,v 1.89 2010/08/24 00:07:00 jakllsch Exp $ */
+/* $NetBSD: in6_proto.c,v 1.90 2011/03/31 19:40:52 dyoung Exp $ */
/* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.89 2010/08/24 00:07:00 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.90 2011/03/31 19:40:52 dyoung Exp $");
#include "opt_gateway.h"
#include "opt_inet.h"
@@ -412,7 +412,7 @@ struct domain inet6domain = {
.dom_init = NULL, .dom_externalize = NULL, .dom_dispose = NULL,
.dom_protosw = (const struct protosw *)inet6sw,
.dom_protoswNPROTOSW = (const struct protosw *)&inet6sw[sizeof(inet6sw)/sizeof(inet6sw[0])],
- .dom_rtattach = rn_inithead,
+ .dom_rtattach = rt_inithead,
.dom_rtoffset = offsetof(struct sockaddr_in6, sin6_addr) << 3,
.dom_maxrtkey = sizeof(struct ip_pack6),
.dom_ifattach = in6_domifattach, .dom_ifdetach = in6_domifdetach,