Add #define for RFC8622 IPTOS_DSCP_LE codepoint

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add #define for RFC8622 IPTOS_DSCP_LE codepoint

Damien Miller
Hi,

This adds a #define for the "lower effort" DSCP code point specified
by https://tools.ietf.org/html/rfc8622

People have asked to be able to use this OpenSSH for "don't care"
traffic.

ok?

Index: sys/netinet/ip.h
===================================================================
RCS file: /cvs/src/sys/netinet/ip.h,v
retrieving revision 1.18
diff -u -p -r1.18 ip.h
--- sys/netinet/ip.h 8 Aug 2017 18:25:31 -0000 1.18
+++ sys/netinet/ip.h 25 Jan 2020 12:34:27 -0000
@@ -98,6 +98,7 @@ struct ip {
  * Definitions for DiffServ Codepoints as per RFC2474
  */
 #define IPTOS_DSCP_CS0 0x00
+#define IPTOS_DSCP_LE 0x01
 #define IPTOS_DSCP_CS1 0x20
 #define IPTOS_DSCP_AF11 0x28
 #define IPTOS_DSCP_AF12 0x30

Reply | Threaded
Open this post in threaded view
|

Re: Add #define for RFC8622 IPTOS_DSCP_LE codepoint

Job Snijders-2
On Sat, Jan 25, 2020 at 11:36:53PM +1100, Damien Miller wrote:
> This adds a #define for the "lower effort" DSCP code point specified
> by https://tools.ietf.org/html/rfc8622
>
> People have asked to be able to use this OpenSSH for "don't care"
> traffic.
>
> ok?

OK job@