From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AFB01386D5 for ; Mon, 20 May 2024 21:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.88.81.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716241854; cv=none; b=kE8td5sMucGHiWHRAMFiqWAO6/k8x2X36+6OvzolIlnn4y0Jpqo2JJFTva+d08nVusQHK62h8dIf9OCpgmTbdet76tZ4qPrLy0KJVGVvEFDlAlOZ9c4ml+h3z789Z0ayIMT64EtDeOvezz1wh5/cZREd3AdJW4S5y6c+fAi+D4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716241854; c=relaxed/simple; bh=UdU0lrkn1vaGorVeteHPHOFRfPDkXnCeml0Wz0RCWbc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lX4ZUbB+WWLyRLP+e+3so+fYr+fRrMpswSXgGIe69CNBQjXmXY/dYLD6uen5oQzAq8HH/uW3slr9dMbZBr+RrVBzqR3F02KkBHH5Wsdl3ZkTVROl/shM6KS+C+MykZEusPfn3/5RfTOEIpizgrrxAFkG11rytnZZ12h7UPyuWFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org; spf=fail smtp.mailfrom=chopps.org; arc=none smtp.client-ip=54.88.81.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=chopps.org Received: from labnh.int.chopps.org (syn-172-222-091-149.res.spectrum.com [172.222.91.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp.chopps.org (Postfix) with ESMTPSA id BE71D7D0A2; Mon, 20 May 2024 21:43:38 +0000 (UTC) From: Christian Hopps To: devel@linux-ipsec.org Cc: Steffen Klassert , netdev@vger.kernel.org, Christian Hopps , Christian Hopps Subject: [PATCH ipsec-next v2 02/17] include: uapi: add ip_tfs_*_hdr packet formats Date: Mon, 20 May 2024 17:42:40 -0400 Message-ID: <20240520214255.2590923-3-chopps@chopps.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240520214255.2590923-1-chopps@chopps.org> References: <20240520214255.2590923-1-chopps@chopps.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Christian Hopps Add the on-wire basic and congestion-control IP-TFS packet headers. Signed-off-by: Christian Hopps --- include/uapi/linux/ip.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h index 283dec7e3645..5bd7ce934d74 100644 --- a/include/uapi/linux/ip.h +++ b/include/uapi/linux/ip.h @@ -137,6 +137,22 @@ struct ip_beet_phdr { __u8 reserved; }; +struct ip_iptfs_hdr { + __u8 subtype; /* 0*: basic, 1: CC */ + __u8 flags; + __be16 block_offset; +}; + +struct ip_iptfs_cc_hdr { + __u8 subtype; /* 0: basic, 1*: CC */ + __u8 flags; + __be16 block_offset; + __be32 loss_rate; + __be64 rtt_adelay_xdelay; + __be32 tval; + __be32 techo; +}; + /* index values for the variables in ipv4_devconf */ enum { -- 2.45.1