diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-29 19:35:28 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-29 19:35:28 +0000 |
commit | 63e0e5980c812f3d65bb3179c2efea54a83120a8 (patch) | |
tree | f9480e4e0a02a938e469e3ce4f2aa1bb16753126 | |
parent | 198fcd7564a916694acd172de1b010aeaeba366a (diff) |
Document SIOCSIFPRIORITY and friend. Found on my HD. OK jmc@
-rw-r--r-- | share/man/man4/netintro.4 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4 index 13f96b7435f..b45ab8c2369 100644 --- a/share/man/man4/netintro.4 +++ b/share/man/man4/netintro.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netintro.4,v 1.39 2008/05/08 13:45:43 jmc Exp $ +.\" $OpenBSD: netintro.4,v 1.40 2009/01/29 19:35:27 claudio Exp $ .\" $NetBSD: netintro.4,v 1.4 1995/10/19 08:03:40 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)netintro.4 8.2 (Berkeley) 11/30/93 .\" -.Dd $Mdocdate: May 8 2008 $ +.Dd $Mdocdate: January 29 2009 $ .Dt NETINTRO 4 .Os .Sh NAME @@ -310,6 +310,13 @@ Set the interface routing metric. The metric is used only by user-level routers. .It Dv SIOCGIFMETRIC Fa "struct ifreq *" Get the interface metric. +.It Dv SIOCSIFPRIORITY Fa "struct ifreq *" +Set the interface routing priority. +The interface routing priority influences the resulting routing priority of +new static routes added to the kernel using the specified interface. +The value is in the range of 0 to 16 with smaller numbers being better. +.It Dv SIOCGIFPRIORITY Fa "struct ifreq *" +Get the interface priority. .It Dv SIOCAIFADDR Fa "struct ifaliasreq *" An interface may have more than one address associated with it in some protocols. |