diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-12-15 00:50:33 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-12-15 00:50:33 +0100 |
commit | adb0ea006d7668190f0c42aafe3a2864d352e34a (patch) | |
tree | 93261d2426e9f87277e482bd0e15201a5707ddd9 | |
parent | Increase timeout for test step. (diff) | |
download | openssh-adb0ea006d7668190f0c42aafe3a2864d352e34a.tar.xz openssh-adb0ea006d7668190f0c42aafe3a2864d352e34a.zip |
Correct value for IPTOS_DSCP_LE.
It needs to allow for the preceeding two ECN bits. From daisuke.higashi
at gmail.com via OpenSSH bz#3373, ok claudio@, job@, djm@.
-rw-r--r-- | defines.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,7 +66,9 @@ enum #endif /* IPTOS_LOWDELAY */ /* - * Definitions for DiffServ Codepoints as per RFC2474 + * Definitions for DiffServ Codepoints as per RFCs 2474, 3246, 4594 & 8622. + * These are the 6 most significant bits as they appear on the wire, so the + * two least significant bits must be zero. */ #ifndef IPTOS_DSCP_AF11 # define IPTOS_DSCP_AF11 0x28 @@ -97,7 +99,7 @@ enum # define IPTOS_DSCP_EF 0xb8 #endif /* IPTOS_DSCP_EF */ #ifndef IPTOS_DSCP_LE -# define IPTOS_DSCP_LE 0x01 +# define IPTOS_DSCP_LE 0x04 #endif /* IPTOS_DSCP_LE */ #ifndef IPTOS_PREC_CRITIC_ECP # define IPTOS_PREC_CRITIC_ECP 0xa0 |