mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 05:04:50 +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
(cherry picked from commit 1d14e88e53
)
This commit is contained in:
parent
1f85f06276
commit
ca8e2e4c91
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue