$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