From 946940f045090e841444b8c249cbd1e57c6b7f52 Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Wed, 19 Sep 2012 16:14:02 +0000 Subject: Make rt_lookup return a pointer to an rtentry struct instead of to a radix_node struct. The radix tree pushdown continues. ok claudio@ --- sys/net/route.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/route.h') diff --git a/sys/net/route.h b/sys/net/route.h index a85b495b829..960362ebd67 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.77 2012/09/19 12:35:07 blambert Exp $ */ +/* $OpenBSD: route.h,v 1.78 2012/09/19 16:14:01 blambert Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -411,7 +411,7 @@ int rt_if_linkstate_change(struct radix_node *, void *, u_int); int rtdeletemsg(struct rtentry *, u_int); struct radix_node_head *rt_gettable(sa_family_t, u_int); -struct radix_node *rt_lookup(struct sockaddr *, struct sockaddr *, u_int); +struct rtentry *rt_lookup(struct sockaddr *, struct sockaddr *, u_int); struct rtentry *rt_mpath_next(struct rtentry *, int); #endif /* _KERNEL */ -- cgit v1.2.3