summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2013-09-21 10:01:51 +0000
committerbz <bz@FreeBSD.org>2013-09-21 10:01:51 +0000
commitb67689ea7eaab86f990d77dd86336b0496c2bb97 (patch)
tree88501a8767c17362a714282ae7dae4a2f761a1de /sys/netinet/tcp_var.h
parent907e185a7de4c593ffcb0e51a2a801a97d99fbf7 (diff)
downloadFreeBSD-src-b67689ea7eaab86f990d77dd86336b0496c2bb97.zip
FreeBSD-src-b67689ea7eaab86f990d77dd86336b0496c2bb97.tar.gz
Introduce spares in the TCP syncache and timewait structures
so that fixed TCP_SIGNATURE handling can later be merged. This is derived from follow-up work to SVN r183001 posted to net@ on Sep 13 2008. Approved by: re (gjb)
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index aaaa4a4..e3197e5 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -211,7 +211,7 @@ struct tcpcb {
u_int t_tsomax; /* tso burst length limit */
uint32_t t_ispare[8]; /* 5 UTO, 3 TBD */
- void *t_pspare2[4]; /* 4 TBD */
+ void *t_pspare2[4]; /* 1 TCP_SIGNATURE, 3 TBD */
uint64_t _pad[6]; /* 6 TBD (1-2 CC/RTT?) */
};
@@ -353,6 +353,8 @@ struct tcptw {
u_int t_starttime;
int tw_time;
TAILQ_ENTRY(tcptw) tw_2msl;
+ void *tw_pspare; /* TCP_SIGNATURE */
+ u_int *tw_spare; /* TCP_SIGNATURE */
};
#define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb)
OpenPOWER on IntegriCloud