summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-20 00:41:26 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-20 00:41:26 +0000
commit5069bcd3a55af2d246e8c0c2b001fe2d336eaf82 (patch)
tree6b883df1d6daedb8d4c7c59acb374870316da61a /benchmarks
parentThis appears to be building again. Set NO_LATEST_LINK since we now have (diff)
Make this build again on -current after jlemon's changes to tcp_var.h.
Notes
Notes: svn path=/head/; revision=21776
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dbs/files/patch-ac18
1 files changed, 16 insertions, 2 deletions
diff --git a/benchmarks/dbs/files/patch-ac b/benchmarks/dbs/files/patch-ac
index 85458d45b1ec..e0dd4f7cb47d 100644
--- a/benchmarks/dbs/files/patch-ac
+++ b/benchmarks/dbs/files/patch-ac
@@ -1,5 +1,5 @@
---- src/dbsd.c-- Mon Jun 8 00:23:26 1998
-+++ src/dbsd.c Sat Aug 1 19:29:15 1998
+--- src/dbsd.c.orig Sun Jun 7 19:23:26 1998
++++ src/dbsd.c Sat Sep 18 17:19:36 1999
@@ -51,6 +51,9 @@
#define DBSD
@@ -19,3 +19,17 @@
#include <malloc.h>
#endif
+@@ -1002,8 +1005,13 @@
+ d[i].snd_max = htonl((int)rt.d[i].td_cb.snd_max);
+ d[i].snd_cwnd = htonl((int)rt.d[i].td_cb.snd_cwnd);
+ d[i].snd_ssthresh = htonl((int)rt.d[i].td_cb.snd_ssthresh);
++#if !defined(__FreeBSD_version) || (__FreeBSD_version < 400009)
+ d[i].t_idle = htonl((int)rt.d[i].td_cb.t_idle);
+ d[i].t_rtt = htonl((int)rt.d[i].td_cb.t_rtt);
++#else
++ d[i].t_idle = htonl((int)rt.d[i].td_cb.t_rcvtime);
++ d[i].t_rtt = htonl((int)rt.d[i].td_cb.t_rtttime);
++#endif
+ d[i].t_rtseq = htonl((int)rt.d[i].td_cb.t_rtseq);
+ d[i].t_srtt = htonl((int)rt.d[i].td_cb.t_srtt);
+ d[i].t_rttvar = htonl((int)rt.d[i].td_cb.t_rttvar);