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 41A5C5A0272 for ; Mon, 18 Dec 2023 08:40:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1702885220; bh=Pb0Dlqr5QoTcPRWccpAvr3MMWEKU5zle1oUZq4EQ86Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R0/JRw9Ec8SHlt+ar6HX4L1JSXf1AZ2i9axddDrTO/TJubwHWdjYS37nQR/eaRczj PpJHJGrzOFSYxij5ENrB6cWrYGx9ykOZCT8h9RZLvDrlkzppGnQBet3/NXTZYCSUBs AmoT4wqpkxHjI/C1gfD/yTJdmA9cJV1PwU0823GQeYzYEXuDUso3sCyoC84o96Khyw J/uVUhq98QrfG+4T5Vs2LGFZ6oKBYHgaQoeDtzSO4TPPr4wRN7JEGjYhFl+zcSopzG cAeuXf8cZhnCaapSuuc8mG0cL6SBjXcNdGrys2iTzNxvJcktCu/7VZFDhulLghjhs+ 2qlWugTW5wRCw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4StsDh1k62z4xdH; Mon, 18 Dec 2023 18:40:20 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 01/11] checksum: Don't use linux/icmp.h when netinet/ip_icmp.h will do Date: Mon, 18 Dec 2023 18:40:07 +1100 Message-ID: <20231218074017.985092-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218074017.985092-1-david@gibson.dropbear.id.au> References: <20231218074017.985092-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: CD2FUW6EXIMDEN7TE3BLFZ3B4OOXSOQD X-Message-ID-Hash: CD2FUW6EXIMDEN7TE3BLFZ3B4OOXSOQD 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: 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: In most places where we need to get ICMP definitions, we get them from . However in checksum.c we instead include . Change it to use for consistency. Signed-off-by: David Gibson --- checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checksum.c b/checksum.c index 03b8a7c..f21c9b7 100644 --- a/checksum.c +++ b/checksum.c @@ -49,11 +49,11 @@ #include #include #include +#include #include #include #include -#include #include /* Checksums are optional for UDP over IPv4, so we usually just set -- 2.43.0