summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2012-09-19 19:30:43 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2012-09-19 19:30:43 +0000
commitc1da5d44a3bca9c24f0beb58768f8d69f9244442 (patch)
treebf9f78e0632d645e7335fdf5dca533feb01dab30 /share
parent52b7217c8ea178d7c6e198e8b23361cadda35384 (diff)
Update the route(9) manpage to reflect recent change to rt_lookup()
reminded by jmc@ ok jmc@ claudio@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/route.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/route.9 b/share/man/man9/route.9
index 07e2db4ae4f..c25fae9c0c3 100644
--- a/share/man/man9/route.9
+++ b/share/man/man9/route.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.9,v 1.4 2011/12/12 14:59:38 blambert Exp $
+.\" $OpenBSD: route.9,v 1.5 2012/09/19 19:30:42 blambert Exp $
.\"
.\" Copyright (c) 2011 Bret S. Lambert <blambert@openbsd.org>
.\" All rights reserved.
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 12 2011 $
+.Dd $Mdocdate: September 19 2012 $
.Dt ROUTE 9
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Nd kernel routing interface
.Sh SYNOPSIS
.Fd #include <net/route.h>
-.Ft struct radix_node *
+.Ft struct rtentry *
.Fn rt_lookup "struct sockaddr *dst" "struct sockaddr *mask" "u_int tableid"
.Ft void
.Fn rtalloc "struct route *ro"
@@ -107,7 +107,7 @@ struct rt_addrinfo {
Routing entries describe the routes to be taken by packets in a router.
.Bl -tag -width Ds
.It Fn rt_lookup "struct sockaddr *dst" "struct sockaddr *mask" "u_int tableid"
-Return pointer to routing entry (as a radix_node) corresponding to address
+Return pointer to routing entry corresponding to address
.Fa dst
with a mask of
.Fa mask