summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-26 14:50:31 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-26 14:50:31 +0000
commitd82f1504bc21fa4f7edf90fc76cc5281c307e34a (patch)
treeaccadb982878fe95157dc2e7df6398a366d7e879
parenta4cc21c9c60d3582bf5d90465f353eaea035ccd3 (diff)
Add a CONTEXT section.
-rw-r--r--share/man/man9/rt_timer_add.913
-rw-r--r--share/man/man9/rtlabel_id2name.911
2 files changed, 20 insertions, 4 deletions
diff --git a/share/man/man9/rt_timer_add.9 b/share/man/man9/rt_timer_add.9
index 939d5abad38..b20dd94993d 100644
--- a/share/man/man9/rt_timer_add.9
+++ b/share/man/man9/rt_timer_add.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rt_timer_add.9,v 1.3 2014/03/21 11:24:11 jmc Exp $
+.\" $OpenBSD: rt_timer_add.9,v 1.4 2014/03/26 14:50:30 mpi 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: March 21 2014 $
+.Dd $Mdocdate: March 26 2014 $
.Dt RT_TIMER_ADD 9
.Os
.Sh NAME
@@ -82,6 +82,15 @@ Remove all timeouts from the routing timer queue
.Fa rtq ,
execute their associated callback and destroy it.
.El
+.Sh CONTEXT
+.Fn rt_timer_add ,
+.Fn rt_timer_remove_all ,
+.Fn rt_timer_queue_create ,
+.Fn rt_timer_queue_count ,
+.Fn rt_timer_queue_change ,
+and
+.Fn rt_timer_queue_destroy
+can be called during autoconf, from process context, or from interrupt context.
.Sh RETURN VALUES
.Fn rt_timer_add
may fail with
diff --git a/share/man/man9/rtlabel_id2name.9 b/share/man/man9/rtlabel_id2name.9
index bb928aadd8e..36514821b96 100644
--- a/share/man/man9/rtlabel_id2name.9
+++ b/share/man/man9/rtlabel_id2name.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtlabel_id2name.9,v 1.2 2014/03/18 15:01:07 mpi Exp $
+.\" $OpenBSD: rtlabel_id2name.9,v 1.3 2014/03/26 14:50:30 mpi 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: March 18 2014 $
+.Dd $Mdocdate: March 26 2014 $
.Dt RTLABEL_ID2NAME 9
.Os
.Sh NAME
@@ -55,6 +55,13 @@ Remove a reference to the route label with ID
.Fa id ,
freeing the label if the reference count drops to 0.
.El
+.Sh CONTEXT
+.Fn rtlabel_id2name ,
+.Fn rtlabel_id2sa ,
+.Fn rtlabel_name2id ,
+and
+.Fn rtlabel_unref
+can be called during autoconf, from process context, or from interrupt context.
.Sh RETURN VALUES
.Fn rtlabel_name2id
returns