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 4EC685A027A for ; Thu, 21 Dec 2023 07:53:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1703141610; bh=Pb0Dlqr5QoTcPRWccpAvr3MMWEKU5zle1oUZq4EQ86Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g3HdVe/6/F5DmKpbeqygk6DAYkPXAUhokX1EBbwspfJfpGufLJN9Df7aow3CZ/HrU LVlkrvPQfxNqdeTdIlo3slXKlPZTcSfTwDHKyR7n+r3UOgcx/znfFTD1dGEJsraJRy 1CJZ3889CxnHYdw5kSTk2u7KzYixNezLBVIXcPLEjBFshkA6C7+i3wVjVj2dY1Ngyy cqMmC2Z+Ap/BSwIuCBOV7E1VALWvzny2hj0QoBPEMsuqwQ1bBWTfF2OTa34CPTOK2F LGL8yrDFzqU1EhTZBT6jH64xiAz94SRl/Ik32sw0bXfftzu3/6VQ6zZiuOiBGhgnSR i7OLTaDoZNzdA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Swh3G437mz4xR5; Thu, 21 Dec 2023 17:53:30 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 01/12] checksum: Don't use linux/icmp.h when netinet/ip_icmp.h will do Date: Thu, 21 Dec 2023 17:53:16 +1100 Message-ID: <20231221065327.1307827-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221065327.1307827-1-david@gibson.dropbear.id.au> References: <20231221065327.1307827-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: DPLVZZBQSASULFXZEVMUG6S6QSWDAFZG X-Message-ID-Hash: DPLVZZBQSASULFXZEVMUG6S6QSWDAFZG 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