upstream: make IPTOS_DSCP_LE available via IPQoS directive; bz2986,

based on patch by veegish AT cyberstorm.mu

OpenBSD-Commit-ID: 9902bf4fbb4ea51de2193ac2b1d965bc5d99c425
This commit is contained in:
djm@openbsd.org 2020-01-28 01:49:36 +00:00 committed by Damien Miller
parent da22216b5d
commit 4594c76276
3 changed files with 8 additions and 5 deletions

3
misc.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: misc.c,v 1.145 2020/01/24 23:54:40 djm Exp $ */ /* $OpenBSD: misc.c,v 1.146 2020/01/28 01:49:36 djm Exp $ */
/* /*
* Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005,2006 Damien Miller. All rights reserved. * Copyright (c) 2005,2006 Damien Miller. All rights reserved.
@ -1559,6 +1559,7 @@ static const struct {
{ "cs6", IPTOS_DSCP_CS6 }, { "cs6", IPTOS_DSCP_CS6 },
{ "cs7", IPTOS_DSCP_CS7 }, { "cs7", IPTOS_DSCP_CS7 },
{ "ef", IPTOS_DSCP_EF }, { "ef", IPTOS_DSCP_EF },
{ "le", IPTOS_DSCP_LE },
{ "lowdelay", IPTOS_LOWDELAY }, { "lowdelay", IPTOS_LOWDELAY },
{ "throughput", IPTOS_THROUGHPUT }, { "throughput", IPTOS_THROUGHPUT },
{ "reliability", IPTOS_RELIABILITY }, { "reliability", IPTOS_RELIABILITY },

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh_config.5,v 1.318 2020/01/25 23:33:27 djm Exp $ .\" $OpenBSD: ssh_config.5,v 1.319 2020/01/28 01:49:36 djm Exp $
.Dd $Mdocdate: January 25 2020 $ .Dd $Mdocdate: January 28 2020 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -1040,6 +1040,7 @@ Accepted values are
.Cm cs6 , .Cm cs6 ,
.Cm cs7 , .Cm cs7 ,
.Cm ef , .Cm ef ,
.Cm le ,
.Cm lowdelay , .Cm lowdelay ,
.Cm throughput , .Cm throughput ,
.Cm reliability , .Cm reliability ,

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sshd_config.5,v 1.302 2020/01/25 22:41:01 djm Exp $ .\" $OpenBSD: sshd_config.5,v 1.303 2020/01/28 01:49:36 djm Exp $
.Dd $Mdocdate: January 25 2020 $ .Dd $Mdocdate: January 28 2020 $
.Dt SSHD_CONFIG 5 .Dt SSHD_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -826,6 +826,7 @@ Accepted values are
.Cm cs6 , .Cm cs6 ,
.Cm cs7 , .Cm cs7 ,
.Cm ef , .Cm ef ,
.Cm le ,
.Cm lowdelay , .Cm lowdelay ,
.Cm throughput , .Cm throughput ,
.Cm reliability , .Cm reliability ,