1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

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
This commit is contained in:
Mark Johnston 2024-04-08 13:37:25 -04:00
parent 989a2cf19d
commit 1d14e88e53

View File

@ -86,6 +86,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 */