From patchwork Tue Oct 8 18:45:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 833607 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp448273wrv; Tue, 8 Oct 2024 11:48:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVF4vGN3aZUkhptrhpbkrgODVhEm3xezn+oyBsxvlbAdil4O+UEGyTkTELRFkCxIaXDZW9aw==@linaro.org X-Google-Smtp-Source: AGHT+IErKgTYq4OiV5njANt1INdMkBLMVMXmdXbBfzjfETlqisz+nnhboqKKkG4yEh3cwe1QFSS+ X-Received: by 2002:ac8:5809:0:b0:458:3986:1970 with SMTP id d75a77b69052e-45d9ba4aa0bmr275188141cf.14.1728413281565; Tue, 08 Oct 2024 11:48:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728413281; cv=pass; d=google.com; s=arc-20240605; b=hRZhJ0fiQbJ/L6Csil/q40GHXem9XlzX2t+E96wFs4aDrqQJ4WiM4KUef1JIAbdnxK u+GcMvDhCsc6E+I/vgBFX6Aavq43qUrVPq937LfjG/878j7xUtboRS9Y16s1lPDj6VNM n/9ylK2VvtdiHsMGA0UIqfLyGB2/uN15TbzVixIlKm6nq+VPN7JS+R73iITQw7mK/mWB AbYCtARs7KSmXEhezCFrBkWekvwJT7vegYW2y4JYoWRsND6W6l2AddinVvkPWU3Tl0Sf DRqWgkcfp0lGU7ggJNOojnnNsrmo2vddo4jHHiBwXSZHbT4hLAth0hxW7pUqSvdWn84Y 8JhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=YbTu3sq3KXmLdKAR4lfF3Xj0FNZTDuXnsIdFquxPR8s=; fh=y8c+zjefmHK4fStUusN64Sx8n6mpTt8O9P1WOVzrReM=; b=hoo3L7Xgb4J8gAeVFp0gIxZJHiovLBLjw/JfvC2/TPa31+PV400HWiIIzTUAGzod8Y uUBD0M1e7S3ycau+SdVqGW6rMz9P7WAD4/fy8dbFryatjbaT/Sc1Ue3bmLsLxumbgXiS LBCu8rIChAD0jUYFZSddg+5xpk+Pa3NVZ5QoGhqCFCJoPomwDmAiX11EKmyyA9xD6iSA lAtVXCFYv0xiPDz8Gy8lyhFsRp8BjRiCOAADqDnmscB1Jw/LYw0cXt8u8ljK2RDg8XX9 1+D4l9w0Ml2eaKHIXtlIO7IwFhV1zLojfrzuI6X9MOivcAlXsDWZkKs0J/UIAP8kNsAr DNEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jf9ab+4J; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id d75a77b69052e-45da75e1ce4si97252771cf.380.2024.10.08.11.48.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 11:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jf9ab+4J; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2A895384F00E for ; Tue, 8 Oct 2024 18:48:01 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id 2450D385020E for ; Tue, 8 Oct 2024 18:46:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2450D385020E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2450D385020E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::634 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728413212; cv=none; b=iIg3AkUat3+iDSbFdkEbKB4TfMUYjb/db2zrT1izR/73E9cpyM5a7pIX51L/5JOpQ55rVw/TEH7sMiVKHDgW2w4yrDJz93yA/umkUJrOc29gYUDjbsmwwZzQcLAxe3L/5CWq49l6rTKQGkxp9QDfCwgsQf6CBokPqMdVtl8co4c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728413212; c=relaxed/simple; bh=clIk4qiMx/8JNCl/DmPgQUflOt1dPL50qQFkV9b2sfA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KH0SjeeIN8FfiRXUT5wAUA2JQ3L4HHZruzK45LH/ci96QzziDpG/tzMFq9bEo2nPHVkx7w0rKK9X8dAirsbxm8vlOL4SNLznlLLV3UOcj1Yp+0m6xZixVeXDjF3nx4M72XprdGLA7FlBRZKgJvpF6cGIADnWAtJTDJoTWkocGd4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-20b95359440so51685405ad.0 for ; Tue, 08 Oct 2024 11:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728413210; x=1729018010; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YbTu3sq3KXmLdKAR4lfF3Xj0FNZTDuXnsIdFquxPR8s=; b=jf9ab+4JLvdJvbhJaeO6PSKDufXAU6TpEZbb5xgfEBCcUK/hAin0WnmnTfWpI+KWxn Z9Tid5K/a8FDC2DhcIuJMmLO5xvF7qsK8Alj6ZF4J65kaxv9bzg+oxPHZOBi5lNQCqWd NNit13LcJQ+AtZlZ+Jy9NAIpxrE/MUEzcIHsZ8EufHa/watJ7pQ0ubCfYHiAhWKeWp3g CxqOSxKIyFgJuCWMe9FwMvBMOP89x5z5A56QSODhWL1Cd+rCukG0bcsvCA48PfXcmuX9 M3DqPOwpIIJmWc0aD7B0a9hBA05t76W6XcSB4TMo9xRecaVelJoN58NzYjFBwhku7rxf pE0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728413210; x=1729018010; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YbTu3sq3KXmLdKAR4lfF3Xj0FNZTDuXnsIdFquxPR8s=; b=I+PQH69qLV4b3iAzDTHfMod9Dw99lJS871sU/fT0p51iadVTIvOLbqj/cq6OxxRPlR XJt17KQ3d/XxAT5Brc8wbLJ83SJTWfVNi/UjILrPHfeD0gk6Gtt8LJgHmkXtsYgbe7g+ cAVugYpHg/rQih5GtgtzmpWyWnkmrZLnCz96BBek78f23Coeof7hdYvhp0EoMVK0J+dM 7OgT0HI7Za9F3j4Mqisy0r407UomUNSs17LK1N3pZ6sbFZBAhvLBv8j3hQj/yK053uGQ hTY6ls/EBE/6U0LrJ1LByywyb51JVNFaxR/a/0ISWuxmm+kq4t/Ulu3pP04UVnczi/0W ILvA== X-Gm-Message-State: AOJu0YzZvtf4K+XslI7AGFez+HUS1GcHKlfFAQIOdaQOgUnrEMJfJEsD /r+SuKTOiKe6gH0LxJdiA71p8TxYAEjSamCHbgKl6tmKnzSWBWzqUwz7QWwOSY8LMGH7WPo9s7P 1OsI= X-Received: by 2002:a17:902:f70c:b0:20b:4bc6:1132 with SMTP id d9443c01a7336-20bfe496c1cmr250497245ad.46.1728413209810; Tue, 08 Oct 2024 11:46:49 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c1395dc41sm58068535ad.217.2024.10.08.11.46.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 11:46:49 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers Subject: [PATCH v2 8/8] Add IPPROTO_SMC from Linux 6.11 to netinet/in.h Date: Tue, 8 Oct 2024 15:45:30 -0300 Message-ID: <20241008184634.245607-9-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008184634.245607-1-adhemerval.zanella@linaro.org> References: <20241008184634.245607-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 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~patch=linaro.org@sourceware.org Linux 6.11 adds a define IPPROTO_SMC to its include/uapi/linux/in.h (commit d25a92ccae6b). Checked on x86_64-linux-gnu. Reviewed-by: H.J. Lu --- inet/netinet/in.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inet/netinet/in.h b/inet/netinet/in.h index f684be5beb..29fdd9b85e 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -93,6 +93,8 @@ enum #define IPPROTO_ETHERNET IPPROTO_ETHERNET IPPROTO_RAW = 255, /* Raw IP packets. */ #define IPPROTO_RAW IPPROTO_RAW + IPPROTO_SMC = 256, /* Shared Memory Communications. */ +#define IPPROTO_SMC IPPROTO_SMC IPPROTO_MPTCP = 262, /* Multipath TCP connection. */ #define IPPROTO_MPTCP IPPROTO_MPTCP IPPROTO_MAX