From nobody Wed Apr 10 12:54:22 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VF2pQ6sSXz5H4My; Wed, 10 Apr 2024 12:54:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VF2pQ6MLvz4WQW; Wed, 10 Apr 2024 12:54:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712753662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VDvEP3Ji19AhoZCb5y8NJCpIf9Yx58CImWuARGfYwqE=; b=l+Uzea2Qh7jmfrMgmdphXgQEO/FDWQbwadTU32iFRkelZunkZgDyG5xa9/69qGb3Yg19wx Bk8Q5GJNdGsqu1zFYqGpURdrUB2rxOg9DJmLe8vRjuHOfv2A8dvJZIcgVZDLCQyFV9kcNP Ao5zPoam/AO44Y/fpOpxLFAVnmT2OnWg3JGuWMvhX7E2JMLiFfbhx2qycaPslQb8Dfurbv sksn3t3N2xfONyJz2qSQrMhTWVn7fhf1ydp00M1m1xAGO0odDUBK0GAmkCtLGz1SbP8w0m PRYY0lCTznpp3GhGGSJVu2i/Fr42OYnwMXzgbnwJQEDADL796appyM9YdPAePg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712753662; a=rsa-sha256; cv=none; b=jtUjvMxdVeJT4QzFMRo2pGCPsLAGBlWSs5HXOUEAF67GeXS41EQT9wALOMIwP1XKWeusu/ cmHhMUgQBqOTdwGSHf0OkNGQJSwmGiUGFrf7QtENKMKsyMU7Z5t8OpQmsOYnRjwDVzaVer aDpTcsah2MrPUIZXIAYIUJEdk0WmqMcZqXWQtx+sSbJOCHGvwsepQf77WbnqhV1b3KpCkT qNqWmqVxdzxZt1okOqRuJirVw8AjUN1UWRucvwXz5Ofzm+8R4XucDC4eS7JY+e4FcLWTi9 ygXqoDkN5d5u5m6GfYVuONbCZsxJQhjeoI6xtpOxzK/nmA2i45/cZIEsGFArXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712753662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VDvEP3Ji19AhoZCb5y8NJCpIf9Yx58CImWuARGfYwqE=; b=DcMzfYAKRVgP5l63n0BzPLo2i0Q4MxcMUFyJEd4+4GadO4Hc/E0pHbITwmivqlvPuPCGuh cnhj4kIkgwziM0UuF43yzP/+WaDycOaaUn3CoTyk1fYB6FLiwiZR6eRSGIomPMvyR0h+/M k1dvcMjAj8LCVDSPTUVtUsQpPsf6dwNnDQZb00fwek6cKXYsIadVCiWwcE8UvVN19qAOJG kmSoPKiIDizB3M0if+iq4n2uIpBaZBi0RGVY6D3XdAbkVhjEx/5bV3N9GrUfQT1ac7pTAZ f9aM7EbgwB0vnovHhlwDJdcTTUlZMqSy02DJVDJcYkAaISBm1R9KbBmmOQ3Cww== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VF2pQ5vDHzf9Z; Wed, 10 Apr 2024 12:54:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43ACsMhl053376; Wed, 10 Apr 2024 12:54:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43ACsMW4053373; Wed, 10 Apr 2024 12:54:22 GMT (envelope-from git) Date: Wed, 10 Apr 2024 12:54:22 GMT Message-Id: <202404101254.43ACsMW4053373@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 1d14e88e5332 - main - tcp: Make tcp_var.h more self-contained List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: dev-commits-src-all+owner@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d14e88e5332cfddbec1893f6b5332f81d378d61 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=1d14e88e5332cfddbec1893f6b5332f81d378d61 commit 1d14e88e5332cfddbec1893f6b5332f81d378d61 Author: Mark Johnston AuthorDate: 2024-04-08 17:37:25 +0000 Commit: Mark Johnston CommitDate: 2024-04-10 12:53:49 +0000 tcp: Make tcp_var.h more self-contained struct tcpcb embeds a struct osd and a struct callout. Rather than forcing all consumers to pull in the same headers, include the headers directly. No functional change intended. Reviewed by: glebius MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44685 --- sys/netinet/tcp_var.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index b16410dad4db..a339f52c2ffa 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -86,6 +86,9 @@ #define TCP_EI_BITS_2MS_TIMER 0x400 /* 2 MSL timer expired */ #if defined(_KERNEL) || defined(_WANT_TCPCB) +#include +#include + #include /* TCP segment queue entry */