aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-17 19:00:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-10-17 19:00:27 +0200
commit3333eb55b73ed585b8265f2d5dfcd8624173cf8e (patch)
treee05da46826f90fd70f0e9cceb2bc33cd78f83bc6 /sysdeps
parentff5d2abd18629e0efac41e31699cdff3be0e08fa (diff)
downloadglibc-3333eb55b73ed585b8265f2d5dfcd8624173cf8e.zip
glibc-3333eb55b73ed585b8265f2d5dfcd8624173cf8e.tar.gz
glibc-3333eb55b73ed585b8265f2d5dfcd8624173cf8e.tar.bz2
Add LE DSCP code point from RFC-8622.
Signed-off-by: Bruno Victal <mirai@makinata.eu> Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/netinet/ip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/netinet/ip.h b/sysdeps/generic/netinet/ip.h
index 6bdb31b..20139e9 100644
--- a/sysdeps/generic/netinet/ip.h
+++ b/sysdeps/generic/netinet/ip.h
@@ -192,6 +192,11 @@ struct ip_timestamp
#define IPTOS_DSCP_VA 0xb0
/*
+ * Lower-Effort Per-Hop Behavior DSCP code point from RFC-8622, Section 12.
+ */
+#define IPTOS_DSCP_LE 0x04
+
+/*
* In RFC 2474, Section 4.2.2.1, the Class Selector Codepoints subsume
* the old ToS Precedence values.
*/