From patchwork Fri Oct 13 15:11:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 77675 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0E0593858025 for ; Fri, 13 Oct 2023 15:11:27 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtpm5.myservices.hosting (smtpm5.myservices.hosting [185.26.105.236]) by sourceware.org (Postfix) with ESMTPS id 495913857731 for ; Fri, 13 Oct 2023 15:11:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 495913857731 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=makinata.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=makinata.eu Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm5.myservices.hosting (Postfix) with ESMTP id C51C020D1A for ; Fri, 13 Oct 2023 17:11:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 402F380098; Fri, 13 Oct 2023 17:11:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VXL7HvGNPZnB; Fri, 13 Oct 2023 17:11:03 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id B1BAF80060; Fri, 13 Oct 2023 17:11:03 +0200 (CEST) From: Bruno Victal To: libc-alpha@sourceware.org Cc: Bruno Victal Subject: [PATCH] Add LE DSCP code point from RFC-8622. Date: Fri, 13 Oct 2023 16:11:00 +0100 Message-ID: <934cab853b750a7614619fe5f4ea0c9ff9051e8c.1697209860.git.mirai@makinata.eu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Signed-off-by: Bruno Victal Reviewed-by: Florian Weimer --- sysdeps/generic/netinet/ip.h | 5 +++++ 1 file changed, 5 insertions(+) base-commit: 69239bd7a216007692470aa9d5f3658024638742 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.