summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2020-01-26 09:39:37 +0000
committerDamien Miller <djm@cvs.openbsd.org>2020-01-26 09:39:37 +0000
commit474d6a33498c3cab38079cca40ba83c5f636ce6b (patch)
tree106e66b1ad371c59cd56beefd8da04eb9da76abf
parent8b1904cfdabed07c12787ebe18cbef07bfbeca4b (diff)
add define for IPTOS_DSCP_LE; "low effort" DSCP codepoint standardised
in RFC8622; ok job@
-rw-r--r--sys/netinet/ip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index b0fc9f8f930..6147cc8df5a 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip.h,v 1.18 2017/08/08 18:25:31 tj Exp $ */
+/* $OpenBSD: ip.h,v 1.19 2020/01/26 09:39:36 djm Exp $ */
/* $NetBSD: ip.h,v 1.9 1995/05/15 01:22:44 cgd Exp $ */
/*
@@ -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