summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-03-26 13:57:54 +0000
committermpi <mpi@openbsd.org>2014-03-26 13:57:54 +0000
commitebd12004a2d1486b504381923cfd1b8bab5a2aae (patch)
tree83384c47ec68cc6aa5fc88b9ef8262c50d9dbb6f
parentstrdup() returns NULL if out of memory, we should check it. (diff)
downloadwireguard-openbsd-ebd12004a2d1486b504381923cfd1b8bab5a2aae.tar.xz
wireguard-openbsd-ebd12004a2d1486b504381923cfd1b8bab5a2aae.zip
Add a CONTEXT section, requested by dlg@
-rw-r--r--share/man/man9/rtable_add.912
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man9/rtable_add.9 b/share/man/man9/rtable_add.9
index 94f1e89913c..32d64040da9 100644
--- a/share/man/man9/rtable_add.9
+++ b/share/man/man9/rtable_add.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtable_add.9,v 1.4 2014/03/18 14:04:31 jmc Exp $
+.\" $OpenBSD: rtable_add.9,v 1.5 2014/03/26 13:57:54 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 RTABLE_ADD 9
.Os
.Sh NAME
@@ -73,6 +73,14 @@ Place routing table with ID of
under the routing domain with ID of
.Fa rdomain .
.El
+.Sh CONTEXT
+.Fn rtable_add ,
+.Fn rtable_exists ,
+.Fn rtable_get ,
+.Fn rtable_l2 ,
+and
+.Fn task_l2set
+can be called during autoconf, from process context, or from interrupt context.
.Sh RETURN VALUES
.Fn rtable_add
may fail with: