From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202410 header.b=BBJRDwGq; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 6B5BD5A061B for ; Mon, 04 Nov 2024 09:40:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202410; t=1730709607; bh=NH5MvDl2a67lf5tDV2fTHY7IqldrDovVbvoSVXHy6/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BBJRDwGqbw22DC2TWypL4DOkLPSQ09CIHXnmR42IvXw/fUoUDa2dC9c2YR4U3emVQ E4YIL8xby+5xTmj46hjqJGPUWOTCk37avVDyWKJoYYaxCyrkpYqkgVWWDKaHGIyagE d9DpF9RL9WORXlouuk0lx56b5SHGIGYOmdS1GdoXEWcI44iGoIttK4RBEGyryx1N3e ZnysKzHEQYc67a0M7fnJ0grxCtmd5E/tCzcEGOcNvPbt6SCKRr9ku1lo0dMjZlFmFE K/nf7Lmp5AtpmbBAMrQaGGnjBywutUIN91nMbmi5GEc6C35BgNpMfqxp8vNtd0LHF5 HE0zeJhVzQjLQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4XhlK34Y82z4xG8; Mon, 4 Nov 2024 19:40:07 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v9 13/20] tcp: Use only netinet/tcp.h instead of linux/tcp.h Date: Mon, 4 Nov 2024 19:39:56 +1100 Message-ID: <20241104084004.3544294-14-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241104084004.3544294-1-david@gibson.dropbear.id.au> References: <20241104084004.3544294-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2PG62F6MZGI4ICFXHI4UML65OIEGNFHL X-Message-ID-Hash: 2PG62F6MZGI4ICFXHI4UML65OIEGNFHL 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: We used to use linux/tcp.h instead of the (somewhat) standard netinet/tcp.h because we needed the Linux specific extensions for TCP_INFO. Since 13f0291e "tcp: Remove compile-time dependency on struct tcp_info version" we're dealing with that in a different way. However tcp_buf.c and tcp_vu.c still used linux/tcp.h. Change it to netinet/tcp.h. Signed-off-by: David Gibson --- tcp_buf.c | 3 +-- tcp_vu.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tcp_buf.c b/tcp_buf.c index 274e313..d17ba48 100644 --- a/tcp_buf.c +++ b/tcp_buf.c @@ -19,8 +19,7 @@ #include #include - -#include +#include #include "util.h" #include "ip.h" diff --git a/tcp_vu.c b/tcp_vu.c index b994817..c10a269 100644 --- a/tcp_vu.c +++ b/tcp_vu.c @@ -10,10 +10,10 @@ #include #include +#include #include -#include #include #include "util.h" -- 2.47.0