summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-05-11 18:29:39 +0000
committerandre <andre@FreeBSD.org>2007-05-11 18:29:39 +0000
commitf33463108a1bf6e488f42d5618c84699f2e09521 (patch)
tree55cfdb7012b4c1d1d992d7ea3ad5648bfe2656d6 /sys/netinet/tcp_var.h
parent50e0c5dd7bbfcd740f73fcaf750532dcac27f579 (diff)
downloadFreeBSD-src-f33463108a1bf6e488f42d5618c84699f2e09521.zip
FreeBSD-src-f33463108a1bf6e488f42d5618c84699f2e09521.tar.gz
Add the timestamp offset to struct tcptw so we can generate proper
ACKs in TIME_WAIT state that don't get dropped by the PAWS check on the receiver.
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 9a1a400..bb1c18d 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -271,6 +271,7 @@ struct tcptw {
u_short tw_so_options; /* copy of so_options */
struct ucred *tw_cred; /* user credentials */
u_long t_recent;
+ u_int32_t ts_offset; /* our timestamp offset */
u_long t_starttime;
int tw_time;
TAILQ_ENTRY(tcptw) tw_2msl;
OpenPOWER on IntegriCloud