diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2012-09-19 16:14:02 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2012-09-19 16:14:02 +0000 |
commit | 946940f045090e841444b8c249cbd1e57c6b7f52 (patch) | |
tree | ca6548bd755726da23faee1439de01a9a33a04b0 /sys/net/route.h | |
parent | 469f7c2cf97e7fa45f29a81b0ccbf4d3436722d5 (diff) |
Make rt_lookup return a pointer to an rtentry struct instead of
to a radix_node struct.
The radix tree pushdown continues.
ok claudio@
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |