亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ns-lib.tcl~

?? 這個軟件的功能是實現多播協議
?? TCL~
?? 第 1 頁 / 共 4 頁
字號:
Simulator instproc link { n1 n2 } {        $self instvar Node_ link_        if { ![catch "$n1 info class Node"] } {		set n1 [$n1 id]	}        if { ![catch "$n2 info class Node"] } {		set n2 [$n2 id]	}	if [info exists link_($n1:$n2)] {		return $link_($n1:$n2)	}	return ""}# Creates connection. First creates a source agent of type s_type and binds# it to source.  Next creates a destination agent of type d_type and binds# it to dest.  Finally creates bindings for the source and destination agents,# connects them, and  returns the source agent.Simulator instproc create-connection {s_type source d_type dest pktClass} {	set s_agent [new Agent/$s_type]	set d_agent [new Agent/$d_type]	$s_agent set fid_ $pktClass	$d_agent set fid_ $pktClass	$self attach-agent $source $s_agent	$self attach-agent $dest $d_agent	$self connect $s_agent $d_agent		return $s_agent}# Creates connection. First creates a source agent of type s_type and binds# it to source.  Next creates a destination agent of type d_type and binds# it to dest.  Finally creates bindings for the source and destination agents,# connects them, and  returns a list of source agent and destination agent.Simulator instproc create-connection-list {s_type source d_type dest pktClass} {    set s_agent [new Agent/$s_type]    set d_agent [new Agent/$d_type]    $s_agent set fid_ $pktClass    $d_agent set fid_ $pktClass    $self attach-agent $source $s_agent    $self attach-agent $dest $d_agent    $self connect $s_agent $d_agent    return [list $s_agent $d_agent]}   # Creates connection. First creates a source agent of type s_type and binds# it to source.  Next creates a destination agent of type d_type and binds# it to dest.  Finally creates bindings for the source and destination agents,# connects them, and  returns the source agent. # The destination agent is set to listen, for full-tcp.Simulator instproc create-connection-listen {s_type source d_type dest pktClass} {    set s_agent [new Agent/$s_type]    set d_agent [new Agent/$d_type]    $s_agent set fid_ $pktClass    $d_agent set fid_ $pktClass    $self attach-agent $source $s_agent    $self attach-agent $dest $d_agent    $self connect $s_agent $d_agent    $d_agent listen    return $s_agent }   # This seems to be an obsolete procedure.Simulator instproc create-tcp-connection {s_type source d_type dest pktClass} {	set s_agent [new Agent/$s_type]	set d_agent [new Agent/$d_type]	$s_agent set fid_ $pktClass	$d_agent set fid_ $pktClass	$self attach-agent $source $s_agent	$self attach-agent $dest $d_agent	return "$s_agent $d_agent"}## Other classifier methods overload the instproc-likes to track # and return the installed objects.#Classifier instproc install {slot val} {	puts "slot $slot val is $val\n";	$self set slots_($slot) $val	$self cmd install $slot $val}Classifier instproc installNext val {	set slot [$self cmd installNext $val]	$self set slots_($slot) $val	set slot}Classifier instproc adjacents {} {	$self array get slots_}Classifier instproc in-slot? slot {	$self instvar slots_	set ret ""	if {[array size slots_] < $slot} {		set ret slots_($slot)	}	set ret}# For debuggingClassifier instproc dump {} {	$self instvar slots_ offset_ shift_ mask_	puts "classifier $self"	puts "\t$offset_ offset"	puts "\t$shift_ shift"	puts "\t$mask_ mask"	puts "\t[array size slots_] slots"	foreach i [lsort -integer [array names slots_]] {		set iv $slots_($i)		puts "\t\tslot $i: $iv ([$iv info class])"	}}Classifier instproc no-slot slot {        puts stderr "--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---"        puts stderr "\t$self: no target for slot $slot"        puts stderr "\t$self type: [$self info class]"        puts stderr "content dump:"        $self dump        puts stderr "---------- Finished standard no-slot{} default handler ----------"        # Clear output before we bail out        [Simulator instance] flush-trace        exit 1}Classifier/Hash instproc dump args {	eval $self next $args	$self instvar default_	puts "\t$default_ default"}Classifier/Hash instproc init nbuck {	# We need to make sure that port shift/mask values are there	# so we set them after they get their default values	$self next $nbuck	$self instvar shift_ mask_	set shift_ [AddrParams NodeShift 1]	set mask_ [AddrParams NodeMask 1]}Classifier/Port/Reserve instproc init args {        eval $self next        $self reserve-port 2}Simulator instproc makeflowmon { cltype { clslots 29 } } {	set flowmon [new QueueMonitor/ED/Flowmon]	set cl [new Classifier/Hash/$cltype $clslots]		$cl proc unknown-flow { src dst fid }  {		set fdesc [new QueueMonitor/ED/Flow]		set dsamp [new Samples]		$fdesc set-delay-samples $dsamp		set slot [$self installNext $fdesc] 		$self set-hash auto $src $dst $fid $slot	}		$cl proc no-slot slotnum {		#		# note: we can wind up here when a packet passes		# through either an Out or a Drop Snoop Queue for		# a queue that the flow doesn't belong to anymore.		# Since there is no longer hash state in the		# hash classifier, we get a -1 return value for the		# hash classifier's classify() function, and there		# is no node at slot_[-1].  What to do about this?		# Well, we are talking about flows that have already		# been moved and so should rightly have their stats		# zero'd anyhow, so for now just ignore this case..		# puts "classifier $self, no-slot for slotnum $slotnum"	}	$flowmon classifier $cl	return $flowmon}# attach a flow monitor to a link# 3rd argument dictates whether early drop support is to be usedSimulator instproc attach-fmon {lnk fm { edrop 0 } } {	set isnoop [new SnoopQueue/In]	set osnoop [new SnoopQueue/Out]	set dsnoop [new SnoopQueue/Drop]	$lnk attach-monitors $isnoop $osnoop $dsnoop $fm	if { $edrop != 0 } {	    set edsnoop [new SnoopQueue/EDrop]	    $edsnoop set-monitor $fm	    [$lnk queue] early-drop-target $edsnoop	    $edsnoop target [$self set nullAgent_]	}	[$lnk queue] drop-target $dsnoop}# Added by Yun WangSimulator instproc maketbtagger { cltype { clslots 29 } } {        set tagger [new QueueMonitor/ED/Tagger]        set cl [new Classifier/Hash/$cltype $clslots]        $cl proc unknown-flow { src dst fid }  {                set fdesc [new QueueMonitor/ED/Flow/TB]                set dsamp [new Samples]                $fdesc set-delay-samples $dsamp                set slot [$self installNext $fdesc]                $self set-hash auto $src $dst $fid $slot        }        $cl proc set-rate { src dst fid hashbucket rate depth init} {                set fdesc [new QueueMonitor/ED/Flow/TB]                set dsamp [new Samples]                $fdesc set-delay-samples $dsamp                $fdesc set target_rate_ $rate                $fdesc set bucket_depth_ $depth                # Initialize the bucket as full                $fdesc set tbucket_ $init                  set slot [$self installNext $fdesc]                $self set-hash $hashbucket $src $dst $fid $slot        }        $cl proc no-slot slotnum {                #                # note: we can wind up here when a packet passes                # through either an Out or a Drop Snoop Queue for                # a queue that the flow doesn't belong to anymore.                # Since there is no longer hash state in the                # hash classifier, we get a -1 return value for the                # hash classifier's classify() function, and there                # is no node at slot_[-1].  What to do about this?                # Well, we are talking about flows that have already                # been moved and so should rightly have their stats                # zero'd anyhow, so for now just ignore this case..                # puts "classifier $self, no-slot for slotnum $slotnum"        }        $tagger classifier $cl        return $tagger}# Added by Yun WangSimulator instproc maketswtagger { cltype { clslots 29 } } {        set tagger [new QueueMonitor/ED/Tagger]        set cl [new Classifier/Hash/$cltype $clslots]        $cl proc unknown-flow { src dst fid hashbucket }  {                set fdesc [new QueueMonitor/ED/Flow/TSW]                set dsamp [new Samples]                $fdesc set-delay-samples $dsamp                set slot [$self installNext $fdesc]                $self set-hash $hashbucket $src $dst $fid $slot        }        $cl proc no-slot slotnum {                #                # note: we can wind up here when a packet passes                # through either an Out or a Drop Snoop Queue for                # a queue that the flow doesn't belong to anymore.                # Since there is no longer hash state in the                # hash classifier, we get a -1 return value for the                # hash classifier's classify() function, and there                # is no node at slot_[-1].  What to do about this?                # Well, we are talking about flows that have already                # been moved and so should rightly have their stats                # zero'd anyhow, so for now just ignore this case..                # puts "classifier $self, no-slot for slotnum $slotnum"        }        $tagger classifier $cl        return $tagger}# attach a Tagger to a link# Added by Yun WangSimulator instproc attach-tagger {lnk fm} {        set isnoop [new SnoopQueue/Tagger]        $lnk attach-taggers $isnoop $fm}# Imported from session.tcl. It is deleted there.### to insert loss module to regular links in detailed SimulatorSimulator instproc lossmodel {lossobj from to} {	set link [$self link $from $to]	$link errormodule $lossobj}# This function generates losses that can be visualized by nam.Simulator instproc link-lossmodel {lossobj from to} {	set link [$self link $from $to]	$link insert-linkloss $lossobj}#### Polly Huang: Simulator class instproc to support abstract tcp simulationsSimulator instproc rtt { src dst } {	$self instvar routingTable_ delay_	set srcid [[$src set node_] id]	set dstid [[$dst set node_] id]	set delay 0	set tmpid $srcid	while {$tmpid != $dstid} {		set nextid [$routingTable_ lookup $tmpid $dstid]		set tmpnode [$self get-node-by-id $tmpid]		set nextnode [$self get-node-by-id $nextid]		set tmplink [[$self link $tmpnode $nextnode] link]		set delay [expr $delay + [expr 2 * [$tmplink set delay_]]]		set delay [expr $delay + [expr 8320 / [$tmplink set bandwidth_]]]		set tmpid $nextid	}	$src rtt $delay	return $delay}Simulator instproc abstract-tcp {} {	$self instvar TahoeAckfsm_ RenoAckfsm_ TahoeDelAckfsm_ RenoDelAckfsm_ dropper_ 	$self set TahoeAckfsm_ [new FSM/TahoeAck]	$self set RenoAckfsm_ [new FSM/RenoAck]	$self set TahoeDelAckfsm_ [new FSM/TahoeDelAck]	$self set RenoDelAckfsm_ [new FSM/RenoDelAck]	$self set nullAgent_ [new DropTargetAgent]}# Chalermek: For Diffusion, Flooding, and Omnicient Multicast Simulator instproc create-diffusion-rate-agent {node} {	global opt	set diff [new Agent/Diffusion/RateGradient]	$node set diffagent_ $diff	$node set ragent_ $diff	$diff on-node $node	if [info exist opt(enablePos)] {		if {$opt(enablePos) == "true"} {			$diff enable-pos		} else {			$diff disable-pos		}	} 	if [info exist opt(enableNeg)] {		if {$opt(enableNeg) == "true"} {			$diff enable-neg		} else {			$diff disable-neg		}	}     	if [info exist opt(suppression)] {		if {$opt(suppression) == "true"} {			$diff enable-suppression		} else {			$diff disable-suppression		}	} 	if [info exist opt(subTxType)] {		$diff set-sub-tx-type $opt(subTxType)	} 	if [info exist opt(orgTxType)] {		$diff set-org-tx-type $opt(orgTxType)	} 	if [info exist opt(posType)] {		$diff set-pos-type $opt(posType)	} 	if [info exist opt(posNodeType)] {		$diff set-pos-node-type $opt(posNodeType)	} 	if [info exist opt(negWinType)] {		$diff set-neg-win-type $opt(negWinType)	} 	if [info exist opt(negThrType)] {		$diff set-neg-thr-type $opt(negThrType)	} 	if [info exist opt(negMaxType)] {		$diff set-neg-max-type $opt(negMaxType)	} 	$self put-in-list $diff	$self at 0.0 "$diff start"		return $diff}Simulator instproc create-diffusion-probability-agent {node} {	global opt	set diff [new Agent/Diffusion/ProbGradient]	$node set diffagent_ $diff	$node set ragent_ $diff	$diff on-node $node	if [info exist opt(enablePos)] {		if {$opt(enablePos) == "true"} {			$diff enable-pos		} else {			$diff disable-pos		}	} 	if [info exist opt(enableNeg)] {		if {$opt(enableNeg) == "true"} {			$diff enable-neg		} else {			$diff disable-neg		}	} 		$self put-in-list $diff	$self at 0.0 "$diff start"	return $diff}Simulator instproc create-flooding-agent {node} {	set flood [new Agent/Flooding]	$node set ragent_ $flood	$flood on-node $node	$self put-in-list $flood	$self at 0.0 "$flood start"	return $flood}Simulator instproc create-omnimcast-agent {node} {	set omni [new Agent/OmniMcast]	$node set ragent_ $omni	$omni on-node $node	$self put-in-list $omni	$self at 0.0 "$omni start"	return $omni}# XXX These are very simulation-specific methods, why should they belong here?Simulator instproc put-in-list {agent} {	$self instvar lagent	lappend lagent $agent}Simulator instproc terminate-all-agents {} {	$self instvar lagent	foreach i $lagent {		$i terminate	}}Simulator instproc prepare-to-stop {} {	$self instvar lagent	foreach i $lagent {		$i stop	}}    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费视频观看| 久久99国产精品尤物| 久久老女人爱爱| 91精品国产乱| 欧美精品三级在线观看| 成人精品免费看| 国产一区二区免费看| 久久99国产精品久久| 久久国产精品色婷婷| 美女网站色91| 国产一区二区调教| 成人福利视频在线看| 色av一区二区| 欧美一级片在线看| 欧美精品一区二区三| 欧美激情在线一区二区| 国产精品青草久久| 亚洲一区二区三区自拍| 日韩影院在线观看| 国产一区二区三区在线观看精品 | 亚洲国产精品麻豆| 亚洲一区二区av在线| 亚洲aⅴ怡春院| 久草这里只有精品视频| 不卡影院免费观看| 欧美性猛片xxxx免费看久爱| 日韩一区二区高清| 日本一区二区三区在线观看| 一区二区三区中文免费| 视频一区视频二区中文| 国产精品一区二区果冻传媒| 91浏览器在线视频| 制服丝袜av成人在线看| 国产人妖乱国产精品人妖| 一区二区三区四区蜜桃| 麻豆一区二区99久久久久| 国产91丝袜在线播放九色| 欧美性猛交xxxx黑人交| 日韩免费高清视频| 欧美国产激情一区二区三区蜜月| 亚洲精品中文在线| 蜜桃视频免费观看一区| 成人性生交大片免费看视频在线| 在线精品国精品国产尤物884a| 制服丝袜中文字幕亚洲| 亚洲国产精品成人综合色在线婷婷 | 国产精品亚洲专一区二区三区| 91麻豆精品一区二区三区| 精品国产一二三| 亚洲国产精品精华液网站| 国产精品白丝jk黑袜喷水| 欧美二区三区的天堂| 最新国产成人在线观看| 国产老肥熟一区二区三区| 在线视频你懂得一区| 欧美极品少妇xxxxⅹ高跟鞋| 麻豆91免费观看| 欧美精品亚洲一区二区在线播放| 国产精品久久看| 国产黄色成人av| 2021国产精品久久精品| 奇米精品一区二区三区四区 | 久久精品国产久精国产| 欧美日本在线播放| 亚洲乱码中文字幕综合| 99久久精品国产导航| 欧美高清在线精品一区| 久久99精品久久久久久久久久久久| 欧美日韩在线播放| 亚洲蜜桃精久久久久久久| 成人性视频免费网站| 欧美嫩在线观看| 亚洲影院在线观看| 欧美日韩精品一区二区天天拍小说 | 亚洲一区二区影院| 91福利国产成人精品照片| 亚洲三级在线免费| 成人做爰69片免费看网站| 国产欧美日韩不卡免费| 国产成人啪免费观看软件| 精品国产欧美一区二区| 国产真实精品久久二三区| xfplay精品久久| 国产99久久久久久免费看农村| 久久久午夜精品理论片中文字幕| 久久国产精品露脸对白| 日韩精品一区二区三区视频在线观看| 无码av免费一区二区三区试看 | av激情综合网| 亚洲狼人国产精品| 欧美午夜精品久久久久久孕妇| 亚洲国产日韩一区二区| 88在线观看91蜜桃国自产| 麻豆一区二区三区| 亚洲国产精品v| 99热精品一区二区| 亚洲国产日韩综合久久精品| 日韩免费性生活视频播放| 国产乱码一区二区三区| 国产精品久久国产精麻豆99网站| 色综合激情久久| 免费人成黄页网站在线一区二区| 久久先锋资源网| 色综合咪咪久久| 美国欧美日韩国产在线播放| 国产精品视频免费看| 欧美影片第一页| 国产在线播精品第三| 亚洲精品国产一区二区精华液| 91精品视频网| 成人av电影在线播放| 午夜欧美一区二区三区在线播放| 久久伊人中文字幕| 在线免费观看视频一区| 国产揄拍国内精品对白| 亚洲与欧洲av电影| 国产日韩欧美亚洲| 欧美精品v日韩精品v韩国精品v| 国产99久久久国产精品潘金 | 欧美三级日本三级少妇99| 另类成人小视频在线| 中文字幕一区二区三区在线观看| 3751色影院一区二区三区| 成人免费福利片| 麻豆精品一区二区三区| 一区二区三区日本| 欧美韩国一区二区| 日韩免费观看高清完整版| 欧美午夜精品理论片a级按摩| 成人午夜视频福利| 精品亚洲aⅴ乱码一区二区三区| 亚洲激情在线激情| 国产精品毛片高清在线完整版 | 韩国欧美国产一区| 天堂成人国产精品一区| 亚洲丝袜另类动漫二区| 国产欧美一区二区精品忘忧草| 4438x亚洲最大成人网| 欧美日韩精品一区二区天天拍小说 | 亚洲.国产.中文慕字在线| 国产精品丝袜黑色高跟| 精品精品欲导航| 欧美麻豆精品久久久久久| aa级大片欧美| 成人免费看片app下载| 国产在线一区二区| 韩国中文字幕2020精品| 国内精品视频666| 精品一区免费av| 精品在线亚洲视频| 久久国产尿小便嘘嘘尿| 久久99精品国产麻豆不卡| 偷拍日韩校园综合在线| 五月天亚洲婷婷| 肉色丝袜一区二区| 蜜桃在线一区二区三区| 蜜桃久久精品一区二区| 美女视频一区在线观看| 久久福利资源站| 国产精品综合在线视频| 国产成人av网站| 岛国一区二区在线观看| 99久久夜色精品国产网站| 99r国产精品| 日本高清不卡aⅴ免费网站| 欧美视频中文一区二区三区在线观看| 在线观看视频欧美| 欧美精品久久久久久久久老牛影院| 欧美疯狂做受xxxx富婆| 日韩免费观看高清完整版在线观看| 精品国产免费一区二区三区香蕉| 国产欧美视频一区二区三区| 亚洲天堂网中文字| 亚洲va国产天堂va久久en| 久久精品国产网站| 成人国产精品免费网站| 在线影视一区二区三区| 欧美一区二区福利视频| 久久久久国产精品人| 亚洲欧美成人一区二区三区| 图片区小说区区亚洲影院| 久久99最新地址| 99精品视频免费在线观看| 欧美日韩一卡二卡| 精品国产亚洲在线| 国产精品三级av在线播放| 亚洲国产视频一区| 国产精品一区二区久久精品爱涩| 色婷婷激情久久| 欧美不卡视频一区| 亚洲精选在线视频| 韩国成人精品a∨在线观看| 99国产欧美久久久精品| 欧美一级高清片| 亚洲免费观看高清完整版在线 | 精品日韩99亚洲| 一区二区三区免费观看| 国产在线精品免费| 欧美视频在线观看一区| 国产日韩欧美精品综合|