⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 patch_ns-lib.tcl.2.29

📁 c++编写的ns环境下关于wfq算法的仿真源代码
💻 29
字号:
--- ns-2.29/tcl/lib/ns-lib.tcl	2005-10-20 07:45:23.000000000 +0300+++ ns-2.29-wfq/tcl/lib/ns-lib.tcl	2005-12-13 16:47:40.000000000 +0200@@ -1009,6 +1009,10 @@ 			set qtype [lindex $args 0] 			set q [new Queue/$qtype] 		}+		WFQ {+			set q [new Queue/$qtype]+			$q set bandwidth_ $bw+		} 		default { 			if { [llength $args] == 0} { 				set q [new Queue/$qtype]@@ -1472,6 +1476,11 @@ 	} } +Simulator instproc wfqclassifier-install { n1 n2 clssf } {+	$self instvar link_+	[$link_([$n1 id]:[$n2 id]) queue] install $clssf+}+ Simulator instproc drop-trace { n1 n2 trace } { 	$self instvar link_ 	[$link_([$n1 id]:[$n2 id]) queue] drop-target $trace

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -