summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-28 19:22:53 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-28 19:22:53 +0000
commit5934ef20e7d9019051b7e9d3f25e36ead92f8791 (patch)
tree98a6cb3a2be50f0db0f337519206e87daf080cb5 /sys/netinet/tcp_var.h
parent4ef3a811e16d4f7ac602c3d973f4f8145ccf64e3 (diff)
Modulate tcp_now by a random amount on a per-connection basis.
ok markus@ frantzen@
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 fa57d5f4f02..9eb1dc3c0e4 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.66 2004/09/16 13:14:28 markus Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.67 2004/10/28 19:22:52 mcbride Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -170,6 +170,7 @@ struct tcpcb {
u_char request_r_scale; /* pending window scaling */
u_char requested_s_scale;
u_int32_t ts_recent; /* timestamp echo data */
+ u_int32_t ts_modulate; /* modulation on timestamp */
u_int32_t ts_recent_age; /* when last updated */
tcp_seq last_ack_sent;
@@ -249,6 +250,7 @@ struct syn_cache {
int sc_bucketidx; /* our bucket index */
u_int32_t sc_hash;
u_int32_t sc_timestamp; /* timestamp from SYN */
+ u_int32_t sc_modulate; /* our timestamp modulator */
#if 0
u_int32_t sc_timebase; /* our local timebase */
#endif