From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 00B655A02F2 for ; Wed, 1 May 2024 08:53:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1714546436; bh=GQcdlU7u4jEsUGjwSp+57RFwuWD4IaTr01pl5y2UdVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BG/WGqF0aIknVn1f8NlDi0YYy2XsmAc0ZO6QmEYTbt98DB0iNpMR/0Hm80mLEMwhF lRRawSuhSbhQYup5coWRnO4t+Y1RnMvSFu7sRlHr8AQnjZFzQGDPXgKi89Ekkvm7LV FQCR/P6BcaIFcYAELRTmT30jjZcT427PnKy0CW0L0zGkYSwCmCR1dTXwD4tMc8KLQm oZQDiLg1rUP3b8XmBrcYzMgMGbu/Od2zDXToKfjuswZ89l5MvbSkYmiarLi9zHM4kD 6qnme7UZYoHoSePZw6X+eNMIHyff2LR1KEPEC3pjj4pYOD04Rmp3ttv5pj9lw7NCVD LfFr7LxBCMLgA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4VTnpr0nL5z4x1P; Wed, 1 May 2024 16:53:56 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 03/10] tap: Remove unused structs tap_msg, tap_l4_msg Date: Wed, 1 May 2024 16:53:46 +1000 Message-ID: <20240501065353.1682358-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240501065353.1682358-1-david@gibson.dropbear.id.au> References: <20240501065353.1682358-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 62BVDUNND374WZG4WXEVOLWJD5W5SIEA X-Message-ID-Hash: 62BVDUNND374WZG4WXEVOLWJD5W5SIEA X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier , David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Use of these structures was removed in bb708111833e ("treewide: Packet abstraction with mandatory boundary checks"). Remove the stale declarations. Signed-off-by: David Gibson --- passt.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/passt.h b/passt.h index 76026f09..89a7d094 100644 --- a/passt.h +++ b/passt.h @@ -9,26 +9,6 @@ #define UNIX_SOCK_MAX 100 #define UNIX_SOCK_PATH "/tmp/passt_%i.socket" -/** - * struct tap_msg - Generic message descriptor for arrays of messages - * @pkt_buf_offset: Offset from @pkt_buf - * @len: Message length, with L2 headers - */ -struct tap_msg { - uint32_t pkt_buf_offset; - uint16_t len; -}; - -/** - * struct tap_l4_msg - Layer-4 message descriptor for protocol handlers - * @pkt_buf_offset: Offset of message from @pkt_buf - * @l4_len: Length of Layer-4 payload, host order - */ -struct tap_l4_msg { - uint32_t pkt_buf_offset; - uint16_t l4_len; -}; - union epoll_ref; #include -- 2.44.0