From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) by sourceware.org (Postfix) with ESMTPS id 508223858D28 for ; Tue, 17 Jan 2023 20:07:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 508223858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oo1-xc32.google.com with SMTP id t14-20020a4ad0ae000000b004f51f61de9fso1422981oor.13 for ; Tue, 17 Jan 2023 12:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t2hBDofGFa/8lPbRf6oxyeppXUYu1ot7jPPoInHNPlc=; b=byzSA+ZtUt/Ny4ihO2iryp2AnOKi0zRSh7lgIaYnKtI1I3UsJobXIKxkSlrMdT5iF3 W9/93vOqZLCZJWK4CTSeXiaKmrdy2zQcrd1e6L1T7e0FAczpBN4ci6pDInx4C6aefEM8 vRVME6hJANWlDw92RQugWnNLv2LeA13bFu7WIKnBBbGYlC+0V/hyUlhC1sLIBSUSBen/ XKOFK2tDfeIFlyYcrCHOZhIgvk2mhwQojnE9TcF9bMYqvOHdEvTDjO8Pr80aCUgDAi2R xte9KmYWvYhEtJDjMu/+TWzG//9OolXtT8Sk1J2S7w9Da8judA0yGH/Zh/KV/YIlQRAd kDbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t2hBDofGFa/8lPbRf6oxyeppXUYu1ot7jPPoInHNPlc=; b=AMXTUhyc3PsJVYQGgAS6CbDDfkKZTMjeFppwfngienS4NwFigfhIyNoGU71I9X3BsP V5zRxTOiJFS8Z2joXpzHxTVDHl/NGaGk4QpAO0UoDj9ThQzAF5c/1VRiXofDY1H4Tmlx TA9qntV7+bVJExYFsokVCzrsgU4UXdvg1EoQ45z2O7WbE1/ovtRU2pB0Upvrg1AK2HLW 2SxperkcZOXiI/0FjxRMC1pHmLxdEHfv8/2z4mU7cDSI3Bjorkeh3FEYxRF9eHe+gELh nAJ4JZQ99xONFJdtc0AQsCsYfTqFk1m1C0OctrNUU/r/YaIrZ0lGjS82CYz23RHCKeCR 5BBg== X-Gm-Message-State: AFqh2koB+T1+SZcbJU/hgt+iv5pRt1jFlkhoZhxdddGkl12r0wxNfuKD 2f3d/zaJmu5OvYsznC+cJnNlYrNLoj991XYJZzs= X-Google-Smtp-Source: AMrXdXvcEVwpCU9aNC+Xla8eQf53tcqZsUPzdcbAkB0+npZjr+iXfqZwppnCugXWmuI5bbrCWZPmWQ== X-Received: by 2002:a4a:8c68:0:b0:4a3:aa96:23c7 with SMTP id v37-20020a4a8c68000000b004a3aa9623c7mr1998259ooj.6.1673986042565; Tue, 17 Jan 2023 12:07:22 -0800 (PST) Received: from ?IPV6:2804:1b3:a7c1:1652:49fa:2dd7:dbd:38f6? ([2804:1b3:a7c1:1652:49fa:2dd7:dbd:38f6]) by smtp.gmail.com with ESMTPSA id x6-20020a4aaa06000000b004f11e1ce173sm15538928oom.5.2023.01.17.12.07.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 12:07:21 -0800 (PST) Message-ID: <786166fa-c6f3-ae58-d7c6-3cfccc301cbe@linaro.org> Date: Tue, 17 Jan 2023 17:07:19 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Add IPPROTO_L2TP from Linux 6.1 to netinet/in.h Content-Language: en-US To: Joseph Myers , libc-alpha@sourceware.org References: <1ef32960-f07a-7021-d9a6-6396c4dbbc93@codesourcery.com> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <1ef32960-f07a-7021-d9a6-6396c4dbbc93@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 List-Id: On 09/01/23 18:50, Joseph Myers wrote: > Linux 6.1 adds a define IPPROTO_L2TP to its include/uapi/linux/in.h > (not strictly a new constant, since it's moved from > include/uapi/linux/l2tp.h). Add this constant to glibc's > netinet/in.h. > > Tested for x86_64. LGTM, thanks. Reviewed-by: Adhemerval Zanella > > diff --git a/inet/netinet/in.h b/inet/netinet/in.h > index 858652cc37..60deab2f99 100644 > --- a/inet/netinet/in.h > +++ b/inet/netinet/in.h > @@ -81,6 +81,8 @@ enum > #define IPPROTO_PIM IPPROTO_PIM > IPPROTO_COMP = 108, /* Compression Header Protocol. */ > #define IPPROTO_COMP IPPROTO_COMP > + IPPROTO_L2TP = 115, /* Layer 2 Tunnelling Protocol. */ > +#define IPPROTO_L2TP IPPROTO_L2TP > IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ > #define IPPROTO_SCTP IPPROTO_SCTP > IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ >