summaryrefslogtreecommitdiff
path: root/net/ns/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'net/ns/patches/patch-ag')
-rw-r--r--net/ns/patches/patch-ag36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/ns/patches/patch-ag b/net/ns/patches/patch-ag
new file mode 100644
index 00000000000..8e091df0b48
--- /dev/null
+++ b/net/ns/patches/patch-ag
@@ -0,0 +1,36 @@
+$NetBSD: patch-ag,v 1.3 2005/09/08 17:19:14 minskim Exp $
+
+--- xcp/xcpq.h.orig 2005-02-03 10:29:20.000000000 -0800
++++ xcp/xcpq.h
+@@ -113,11 +113,11 @@ protected:
+ XCPTimer* rtt_timer_;
+ double link_capacity_bps_;
+
+- static const double ALPHA_ = 0.4;
+- static const double BETA_ = 0.226;
+- static const double GAMMA_ = 0.1;
+- static const double XCP_MAX_INTERVAL= 1.0;
+- static const double XCP_MIN_INTERVAL= .001;
++ static const double ALPHA_;
++ static const double BETA_;
++ static const double GAMMA_;
++ static const double XCP_MAX_INTERVAL;
++ static const double XCP_MIN_INTERVAL;
+
+ double Te_; // control interval
+ double Tq_;
+@@ -141,7 +141,7 @@ protected:
+ double b_[BSIZE];
+ double t_[BSIZE];
+ int maxb_;
+- static const double BWIDTH = 0.01;
++ static const double BWIDTH;
+ int min_queue_ci_;
+ int max_queue_ci_;
+
+@@ -158,5 +158,4 @@ protected:
+
+ };
+
+-
+ #endif //NS_XCPQ_H