Date: Tue, 8 Nov 2022 18:32:44 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 326f4556250d - main - tcp: forward declare struct tcpcb in the TCP logging header Message-ID: <202211081832.2A8IWis2057211@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=326f4556250d92ab6ba208c5c92f2894900d36ab commit 326f4556250d92ab6ba208c5c92f2894900d36ab Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2022-11-08 18:32:29 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2022-11-08 18:32:29 +0000 tcp: forward declare struct tcpcb in the TCP logging header This allows to include tcp_log_buf.h without including tcp_var.h. --- sys/netinet/tcp_log_buf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet/tcp_log_buf.h b/sys/netinet/tcp_log_buf.h index c11757099c5d..48bc584aa0dc 100644 --- a/sys/netinet/tcp_log_buf.h +++ b/sys/netinet/tcp_log_buf.h @@ -330,6 +330,7 @@ struct tcp_log_dev_log_queue { * len indicates the length of the packet. If no packet, use 0. * stackinfo is optional; if present, it will appear in the record. */ +struct tcpcb; #ifdef TCP_LOG_FORCEVERBOSE #define TCP_LOG_EVENT TCP_LOG_EVENT_VERBOSE #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211081832.2A8IWis2057211>