diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-16 01:21:13 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-16 01:21:13 +0000 |
commit | e230393507b979b4c13f2e4365fadc41c4724d45 (patch) | |
tree | 98439b6fb76e84fb8b53935f62b5f8455d160d76 /share/man/man4 | |
parent | 23d5406572c85ab7748579c40ed66dac4f91580c (diff) |
document txprio ioctl support
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/eoip.4 | 13 | ||||
-rw-r--r-- | share/man/man4/gre.4 | 20 |
2 files changed, 29 insertions, 4 deletions
diff --git a/share/man/man4/eoip.4 b/share/man/man4/eoip.4 index 4d1da17b9ab..de3f6e0f143 100644 --- a/share/man/man4/eoip.4 +++ b/share/man/man4/eoip.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: eoip.4,v 1.2 2018/06/19 00:41:14 dlg Exp $ +.\" $OpenBSD: eoip.4,v 1.3 2018/11/16 01:21:12 dlg Exp $ .\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $ .\" .\" Copyright 1998 (c) The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 19 2018 $ +.Dd $Mdocdate: November 16 2018 $ .Dt EOIP 4 .Os .Sh NAME @@ -123,6 +123,15 @@ and disables fragmentation of IPv6 packets. .It Dv SIOCGLIFPHYDF Fa "struct ifreq *" Get whether the tunnel traffic sent by the interface can be fragmented or not. +.It Dv SIOCSTXHPRIO Fa "struct ifreq *" +Set the priority value used in the Type of Service field in IPv4 +headers, or the Traffic Class field in IPv6 headers. +Values may be from 0 to 7, or +.Dv IF_HDRPRIO_PACKET +to specify that the current priority of a packet should be used. +.It Dv SIOCGTXHPRIO Fa "struct ifreq *" +Get the priority value used in the Type of Service field in IPv4 +headers, or the Traffic Class field in IPv6 headers. .It Dv SIOCSETKALIVE Fa "struct ifkalivereq *" Enable the transmission of keepalive packets to detect tunnel failure. Keepalives may only be configured while the interace is down. diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index 7eaf7811781..9c3fe877f9d 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gre.4,v 1.74 2018/11/15 23:05:10 dlg Exp $ +.\" $OpenBSD: gre.4,v 1.75 2018/11/16 01:21:12 dlg Exp $ .\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $ .\" .\" Copyright 1998 (c) The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 15 2018 $ +.Dd $Mdocdate: November 16 2018 $ .Dt GRE 4 .Os .Sh NAME @@ -283,6 +283,22 @@ and disables fragmentation of IPv6 packets. .It Dv SIOCGLIFPHYDF Fa "struct ifreq *" Get whether the tunnel traffic sent by the interface can be fragmented or not. +.It Dv SIOCSTXHPRIO Fa "struct ifreq *" +Set the priority value used in the Type of Service field in IPv4 +headers, or the Traffic Class field in IPv6 headers. +Values may be from 0 to 7, or +.Dv IF_HDRPRIO_PACKET +to specify that the current priority of a packet should be used. +.Pp +.Nm gre +and +.Nm mgre +interfaces configured with a value of +.Dv IF_HDRPRIO_PAYLOAD +will copy the priority from encapsulated protocol headers. +.It Dv SIOCGTXHPRIO Fa "struct ifreq *" +Get the priority value used in the Type of Service field in IPv4 +headers, or the Traffic Class field in IPv6 headers. .El .Pp .Nm gre , |