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

(cherry picked from commit 1d14e88e53)
This commit is contained in:
Mark Johnston 2024-04-08 13:37:25 -04:00
parent 1f85f06276
commit ca8e2e4c91

View file

@ -88,6 +88,9 @@
#define TCP_EI_BITS_2MS_TIMER 0x400 /* 2 MSL timer expired */
#if defined(_KERNEL) || defined(_WANT_TCPCB)
#include <sys/_callout.h>
#include <sys/osd.h>
#include <netinet/cc/cc.h>
/* TCP segment queue entry */