public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add LE DSCP code point from RFC-8622.
@ 2023-10-17 17:00 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-10-17 17:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3333eb55b73ed585b8265f2d5dfcd8624173cf8e

commit 3333eb55b73ed585b8265f2d5dfcd8624173cf8e
Author: Bruno Victal <mirai@makinata.eu>
Date:   Tue Oct 17 19:00:27 2023 +0200

    Add LE DSCP code point from RFC-8622.
    
    Signed-off-by: Bruno Victal <mirai@makinata.eu>
    Reviewed-by: Florian Weimer <fweimer@redhat.com>

Diff:
---
 sysdeps/generic/netinet/ip.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sysdeps/generic/netinet/ip.h b/sysdeps/generic/netinet/ip.h
index 6bdb31b65e..20139e97af 100644
--- a/sysdeps/generic/netinet/ip.h
+++ b/sysdeps/generic/netinet/ip.h
@@ -191,6 +191,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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-17 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 17:00 [glibc] Add LE DSCP code point from RFC-8622 Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).