summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-10-30 09:48:04 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-10-30 09:48:04 +0000
commit085fc81e83e7824fd719e4fe47ec0892affc8123 (patch)
treee9ccb171d599e58eb0cf56f1d44f4ce125e62c5c
parent9dc59b799020d5067475c25c2432a337a34ac618 (diff)
Rename rtrequest1() to rtrequest().
"make sure to update the manpage too" mpi@
-rw-r--r--share/man/man9/Makefile4
-rw-r--r--share/man/man9/route.96
-rw-r--r--share/man/man9/rt_ifa_add.98
-rw-r--r--share/man/man9/rtalloc.96
-rw-r--r--share/man/man9/rtrequest.9 (renamed from share/man/man9/rtrequest1.9)14
5 files changed, 19 insertions, 19 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 7017fa23644..0ec403f1429 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.248 2015/10/22 05:26:06 dlg Exp $
+# $OpenBSD: Makefile,v 1.249 2015/10/30 09:48:03 bluhm Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -28,7 +28,7 @@ MAN= aml_evalnode.9 atomic_add_int.9 atomic_cas_uint.9 \
pool.9 powerhook_establish.9 ppsratecheck.9 printf.9 psignal.9 \
radio.9 arc4random.9 rasops.9 ratecheck.9 refcnt_init.9 resettodr.9 \
rssadapt.9 route.9 rt_ifa_add.9 rt_timer_add.9 rtalloc.9 rtable_add.9 \
- rtlabel_id2name.9 rtrequest1.9 rwlock.9 SipHash24.9 sensor_attach.9 \
+ rtlabel_id2name.9 rtrequest.9 rwlock.9 SipHash24.9 sensor_attach.9 \
spl.9 srp_enter.9 srpl_rc_init.9 startuphook_establish.9 \
socreate.9 sosplice.9 style.9 syscall.9 systrace.9 sysctl_int.9 \
task_add.9 tc_init.9 time.9 timeout.9 tsleep.9 tvtohz.9 \
diff --git a/share/man/man9/route.9 b/share/man/man9/route.9
index e68b099e6d4..c4669500b9b 100644
--- a/share/man/man9/route.9
+++ b/share/man/man9/route.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.9,v 1.14 2014/12/19 18:57:17 bluhm Exp $
+.\" $OpenBSD: route.9,v 1.15 2015/10/30 09:48:03 bluhm 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 19 2014 $
+.Dd $Mdocdate: October 30 2015 $
.Dt ROUTE 9
.Os
.Sh NAME
@@ -111,4 +111,4 @@ is a multipath routing entry that conflicts with an existing one.
.Xr rt_timer_add 9 ,
.Xr rtable_add 9 ,
.Xr rtlabel_id2name 9 ,
-.Xr rtrequest1 9
+.Xr rtrequest 9
diff --git a/share/man/man9/rt_ifa_add.9 b/share/man/man9/rt_ifa_add.9
index f8420bcc38f..305c7b8f212 100644
--- a/share/man/man9/rt_ifa_add.9
+++ b/share/man/man9/rt_ifa_add.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rt_ifa_add.9,v 1.4 2014/11/24 12:43:54 mpi Exp $
+.\" $OpenBSD: rt_ifa_add.9,v 1.5 2015/10/30 09:48:03 bluhm Exp $
.\"
.\" Copyright (c) 2014 Martin Pieuchot
.\"
@@ -14,7 +14,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: November 24 2014 $
+.Dd $Mdocdate: October 30 2015 $
.Dt RT_IFA_ADD 9
.Os
.Sh NAME
@@ -99,9 +99,9 @@ and
will return
.Dv 0
on success and the return value of
-.Xr rtrequest1 9
+.Xr rtrequest 9
otherwise.
.Sh SEE ALSO
.Xr lo 4 ,
.Xr route 4 ,
-.Xr rtrequest1 9
+.Xr rtrequest 9
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index 1558e5bff15..51e512f93b7 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtalloc.9,v 1.8 2015/09/19 09:02:16 mpi Exp $
+.\" $OpenBSD: rtalloc.9,v 1.9 2015/10/30 09:48:03 bluhm Exp $
.\"
.\" Copyright (c) 2014-2015 Martin Pieuchot
.\"
@@ -14,7 +14,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: September 19 2015 $
+.Dd $Mdocdate: October 30 2015 $
.Dt RTALLOC 9
.Os
.Sh NAME
@@ -106,4 +106,4 @@ can be called during autoconf, from process context, or from interrupt context.
returns 1 if the route entry is valid, otherwise 0.
.Sh SEE ALSO
.Xr route 4 ,
-.Xr rtrequest1 9
+.Xr rtrequest 9
diff --git a/share/man/man9/rtrequest1.9 b/share/man/man9/rtrequest.9
index 09295530101..22bd3008b74 100644
--- a/share/man/man9/rtrequest1.9
+++ b/share/man/man9/rtrequest.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtrequest1.9,v 1.5 2015/10/21 08:48:12 mpi Exp $
+.\" $OpenBSD: rtrequest.9,v 1.1 2015/10/30 09:48:03 bluhm Exp $
.\"
.\" Copyright (c) 2011 Bret S. Lambert <blambert@openbsd.org>
.\" All rights reserved.
@@ -15,17 +15,17 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 21 2015 $
+.Dd $Mdocdate: October 30 2015 $
.Dt RTREQUEST1 9
.Os
.Sh NAME
-.Nm rtrequest1
+.Nm rtrequest
.Nd add or remove entries from a routing table
.Sh SYNOPSIS
.In sys/types.h
.In net/route.h
.Ft int
-.Fn rtrequest1 "int req" "struct rt_addrinfo *info" "u_int8_t prio" \
+.Fn rtrequest "int req" "struct rt_addrinfo *info" "u_int8_t prio" \
"struct rtentry **rtp" "u_int rtableid"
.Bd -literal
struct rt_addrinfo {
@@ -51,7 +51,7 @@ struct rt_addrinfo {
.Ed
.Sh DESCRIPTION
The
-.Fn rtrequest1
+.Fn rtrequest
function is used to add or remove entries from a specific routing table.
It takes the following arguments:
.Bl -tag -width rtableid
@@ -91,10 +91,10 @@ calling
The ID of the routing table to modify.
.El
.Sh CONTEXT
-.Fn rtrequest1
+.Fn rtrequest
can be called during autoconf, from process context, or from interrupt context.
.Sh RETURN VALUES
-.Fn rtrequest1
+.Fn rtrequest
may fail with:
.Pp
.Bl -tag -width Er -compact