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

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

?? no-arq.tcl

?? 一款用來進行網絡模擬的軟件
?? TCL
字號:
# The topology replicates the one used by Nirav in his paper# no loss added  #set val(chan)           Channel/Sat                 ;#Channel Typeset val(netif)          Phy/Sat            ;# network interface typeset val(mac)            Mac/Sat                 ;# MAC typeset val(ifq)            Queue/DropTail  ;# interface queue type#set val(ifq)            Queue/XCPset val(ll)             LL/Sat                    ;# link layer typeset val(err)            MarkovErrorModel#set val(err)            ComplexMarkovErrorModel#set val(err)             UniformErrorProcset val(bw_up)          10Mbset val(bw_down)        10Mbset val(x)		250set val(y)		250#Experimrnting with shorted values#set durlistA     "11.2 0.25"set durlistA        "11.2 4.0"      ;# unblocked and blocked state duration avg valueset durlistB        "27.0 12.0 0.4 0.4"  ;# for complexmarkoverror model# set BW 10; # in Mb/s# set delay 254; # in ms# # Set the queue length (in packets)# set qlen [expr round([expr ($BW / 8.0) * $delay * 2])]; # set buffer to pipe size# puts "queue len = $qlen"# set val(ifqlen) $qlen# set sat link bandwidth and delayLL set bandwidth_ 10MbLL set delay_ 125msset val(bdp) [expr 10000 * 125]#LL/Sat/HDLC set window_size_ $val(bdp) # set selective repeat on; its GoBackN by default#LL/HDLC set selRepeat_ 1set qlen $val(bdp)puts "queue len = $qlen"set val(ifqlen) $qlenproc start_time {} {return 0; }# proc start_time {} {return [expr ([eval ns-random] / 2147483647.0) * 0.1]}proc UniformErrorProc {} {	global val	set	errObj [new ErrorModel]	$errObj unit bit	#$errObj FECstrength $val(FECstrength) 	#$errObj datapktsize 512	#$errObj cntrlpktsize 80	return $errObj}proc MarkovErrorModel {} {	global durlistA newrng_		puts [lindex $durlistA 0]	puts [lindex $durlistA 1]	#set errmodel [new ErrorModel/TwoStateMarkov $durlistA time]	set rv0 [new RandomVariable/Exponential]	set rv1 [new RandomVariable/Exponential]	$rv0 use-rng $newrng_	$rv1 use-rng $newrng_	$rv0 set avg_ [lindex $durlistA 0]	$rv1 set avg_ [lindex $durlistA 1]	set errmodel [new ErrorModel/TwoState $rv0 $rv1 time]	#$errmodel drop-target [new Agent/Null]	return $errmodel}proc ComplexMarkovErrorModel {} {	global durlistB newrng_	set errmodel [new ErrorModel/ComplexTwoStateMarkov $durlistB time $newrng_]		$errmodel drop-target [new Agent/Null] 	return $errmodel}proc stop {} {    global ns_ tracefd    $ns_ flush-trace    close $tracefd}proc setup {tcptype queuetype sources qlen duration file seed c_sources delay rate ecn} {	global val traces ns_ tracefd newrng_	# Initialize Global Variables	#ns-random $seed	set ns_		[new Simulator]	set newrng_ [new RNG]	$newrng_ seed $seed	set tracefd     [open no-arq.tr w]	$ns_ trace-all $tracefd	$ns_ eventtrace-all	$ns_ rtproto Static		# Create sat n(0)		# configure node, please note the change below.	$ns_ node-config -satNodeType geo \	    -llType $val(ll) \	    -ifqType $val(ifq) \	    -ifqLen $val(ifqlen) \	    -macType $val(mac) \	    -phyType $val(netif) \	    -channelType $val(chan) \	    -downlinkBW $val(bw_down) \	    -wiredRouting ON	set n(0) [$ns_ node]	$n(0) set-position -95	$ns_ node-config -satNodeType terminal	set n(100) [$ns_ node]	$n(100) set-position 37.9 -122.3; # Berkeley		set n(101) [$ns_ node]	$n(101) set-position 42.3 -71.1; # Boston	# Add GSLs to geo satellites	$n(100) add-gsl geo $val(ll) $val(ifq) $val(ifqlen) $val(mac) $val(bw_up) \	    $val(netif) [$n(0) set downlink_] [$n(0) set uplink_]		$n(101) add-gsl geo $val(ll) $val(ifq) $val(ifqlen) $val(mac) $val(bw_up) \	    $val(netif) [$n(0) set downlink_] [$n(0) set uplink_]		$n(101) interface-errormodel [$val(err)]		$ns_ unset satNodeType_		# create regular routers	set n(99) [$ns_ node]    ;#....node 3	set n(102) [$ns_ node]   ;#....node 4			# determine the actual queutype and save the one asked for     # assign queueing parameters -- simulate random drop with RED	if { [string match RandomDrop* $queuetype ] } then {		set queuetype [join \				   [concat "RED" \					[string range $queuetype [string length "RandomDrop"] end ]]\				   "" ]		Queue/$queuetype set thresh_ [expr 2* $qlen]		Queue/$queuetype set maxthresh_ [expr 2* $qlen]		# added for ECN comparison		Queue/$queuetype set setbit_ $ecn	} elseif { [string match RED* $queuetype ] } then {		#added by nirav		Queue/$queuetype set bytes_ false		Queue/$queuetype set queue_in_bytes_ false		# Queue/$queuetype set q_weight_ = -1		# Queue/$queuetype set max_p = 1		Queue/$queuetype set gentle_ true		#added by nirav		#Queue/$queuetype set thresh_ [expr $qlen * 0.5]		#Queue/$queuetype set maxthresh_ [expr $qlen * 0.75]		Queue/$queuetype set thresh_ 0		Queue/$queuetype set maxthresh_ 0		# added for ECN comparison		Queue/$queuetype set setbit_ $ecn	}			$ns_ duplex-link $n(99) $n(100) 10Mb 1ms $queuetype	$ns_ duplex-link $n(101) $n(102) 10Mb 1ms $queuetype		# Just to shut ns up about the uninitialized cwnd_frac_variable.	Agent/TCP set cwnd_frac_ 100;	# window needs to be big for long bw delays - it's a max value for cwnd_	# initially set at 20 packets.	#Agent/TCP/Reno set window_ 2000;	Agent/$tcptype set window_ $val(bdp)		# create nodes for sources and c_sources	puts "sources = $sources"	puts "c_sources = $c_sources"		for { set i 1 } {$i <= [expr 2* [expr $sources+$c_sources]]} {incr i} {	set n($i) [$ns_ node]	}		# connect sources and sinks to routers at 100 Mb/s	for {set i 1} {$i<=$sources} {incr i} {		$ns_ duplex-link $n($i) $n(99) 100Mb 1ms $queuetype		$ns_ duplex-link $n(102) $n([expr $i+$sources+$c_sources]) 100Mb 1ms $queuetype	}	# connect cross traffic sources and sinks	for {set i [expr $sources+1]} {$i<= [expr $c_sources+$sources]} {incr i} {		$ns_ duplex-link $n($i) $n(99) 10Mb 2ms $queuetype		$ns_ duplex-link $n(100) $n([expr $i+$sources+$c_sources]) 10Mb 2ms $queuetype	}	# Setup traffic flow between nodes	# Create source and sink Agents and connect them	for {set i 1} {$i<= [expr $sources+$c_sources]} {incr i} {	# Create the sender agent		set T($i) [new Agent/$tcptype]		# If Ecn is on set it in the sender		if { $ecn } { $T($i) set ecn_ 1 }		set hstcpflag 0		if {$hstcpflag==1} {			puts "creating high-speed connection"			set tcp($i) [$ns_ create-highspeed-connection TCP/Reno $n($i) TCPSink $n([expr $i+$c_sources+$sources]) $i]			if { $ecn } { $tcp($i) set ecn_ 1 }		} else {			puts "cerating normal $T($i) connection"			set tcp($i) [$ns_ create-connection $tcptype $n($i) TCPSink $n([expr $i+$c_sources+$sources]) $i]			if { $ecn } { $tcp($i) set ecn_ 1 }		}		if {$hstcpflag==1} {			[set tcp($i)] set windowOption_ 8			[set tcp($i)] set low_window_ 12.5			[set tcp($i)] set high_window_ 12500			[set tcp($i)] set high_p_ 0.0000096			[set tcp($i)] set high_decrease_ 0.1			puts "windowOption = [$tcp($i) set windowOption_]"			puts "low_window = [$tcp($i) set low_window_]"			puts "high_window = [$tcp($i) set high_window_]"			puts "high_p_ = [$tcp($i) set high_p_]"			puts "high_decrease = [$tcp($i) set high_decrease_]"		}		set F($i) [new Application/FTP]		$F($i) attach-agent $tcp($i)		$ns_ at [expr [start_time]+[expr ($i-1)*2]] "$F($i) start"	}	# tracing for sat links	$ns_ trace-all-satlinks $tracefd		# If TCP is in the $traces variable, ask the TCP aganets to trace their	# cwnd_ & seqno_ variable to a file of teh form $file.tcp_trace.source_number	if { [lsearch $traces "TCP"] != -1 } {		for {set i 1} {$i<= [expr $sources+$c_sources]} {incr i} {			$tcp($i) trace cwnd_			$tcp($i) trace t_seqno_			$tcp($i) attach [open "$file.tcp_trace.$i" "w"]		}	}		# set queue size to pipe size	$ns_ queue-limit $n(99) $n(100) $val(ifqlen)	$ns_ queue-limit $n(101) $n(102) $val(ifqlen)	# If $traces includes "queue" use the trace-quere facility to put the queue    # trace out into $file.queue1.  See the docs for the format.	if { [lsearch $traces "queue"] != -1 } {		$ns_ trace-queue $n(99) $n(100) [open "$file.queue1" "w"]	}	# setup routing	set satrouteobject_ [new SatRouteObject]	$satrouteobject_ compute_routes	# Stop the sim at $duration	puts "duration = $duration\n"	$ns_ at $duration "stop"	$ns_ at $duration "puts \"NS EXITING...\" ; $ns_ halt"		# start up.	puts "Starting Simulation..."	$ns_ run}	# traces are the set of info to be put outset traces [ list "TCP" "queue" ]# this boring code sets the given parameters from teh command line in order or# assigns defaults if they're not given.if { [llength $argv]>0} then { set sources [lindex $argv 0]}\else {set sources 1}if { [llength $argv]>1} then { set duration [lindex $argv 1]}\else {set duration 100}if { [llength $argv]>2} then { set file [lindex $argv 2]}\else {set file "no-arq"}if { [llength $argv]>3} then { set qlen [lindex $argv 3]}\else {set qlen 50 }if { [llength $argv]>4} then { set tcptype [lindex $argv 4]}\else {set tcptype "TCP/Reno"}if { [llength $argv]>5} then { set queuetype [lindex $argv 5]}\else {set queuetype "RED"}if { [llength $argv]>6} then { set seed [lindex $argv 6]}\else {set seed 0}if { [llength $argv]>7} then { set c_sources [lindex $argv 7]}\else {set  c_sources 0}if { [llength $argv]>8} then { set delay [lindex $argv 8]}\else {set delay "10ms"}if { [llength $argv]>9} then { set rate [lindex $argv 9]}\else {set rate "100k"}if { [llength $argv]>10} then { set ecn [lindex $argv 10]}\else {set ecn 1 }# Start the simputs "sources=$sources, duration=$duration, file=$file, qlen=$qlen, tcptype=$tcptype, queuetype=$queuetype, seec=$seed, c_sources=$c_sources"setup $tcptype $queuetype $sources $qlen $duration $file $seed $c_sources $delay $rate $ecn

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看91精品国产入口| 国产 日韩 欧美大片| 高清国产一区二区三区| 亚洲午夜在线视频| 一区二区三区中文字幕精品精品 | 亚洲mv在线观看| 亚洲自拍偷拍av| 亚洲一区二区三区在线| 亚洲va天堂va国产va久| 亚洲一二三专区| 蜜桃av一区二区三区| 蜜臀va亚洲va欧美va天堂| 美女网站色91| 国产成人av资源| 91亚洲大成网污www| 欧洲国内综合视频| 欧美一区二区不卡视频| 2023国产一二三区日本精品2022| 精品日本一线二线三线不卡| 久久久无码精品亚洲日韩按摩| 国产欧美日韩精品在线| 樱桃国产成人精品视频| 久久精品国产久精国产| 国产不卡视频一区| 色就色 综合激情| 欧美另类久久久品| 国产日韩av一区| 一级日本不卡的影视| 免费成人在线播放| heyzo一本久久综合| 91精品午夜视频| 日本一区二区三区高清不卡| 亚洲色图视频网| 久久精品国产秦先生| 91网站视频在线观看| 日韩一区二区电影网| 综合久久一区二区三区| 九色porny丨国产精品| 色综合中文字幕国产 | 国产一区二区精品久久91| 成人午夜精品在线| 3atv一区二区三区| 亚洲私人影院在线观看| 麻豆精品视频在线观看免费 | 国产精品高潮久久久久无| 亚洲动漫第一页| 国产成人精品免费一区二区| 欧美日韩国产另类一区| 国产精品沙发午睡系列990531| 日韩电影一区二区三区| 成人久久久精品乱码一区二区三区| 欧美精品久久久久久久多人混战| 国产欧美视频在线观看| 日本午夜一区二区| 在线精品亚洲一区二区不卡| 国产欧美一区二区在线| 激情综合色播激情啊| 欧美高清性hdvideosex| 亚洲精品自拍动漫在线| www.亚洲人| 国产欧美1区2区3区| 老汉av免费一区二区三区| 欧美体内she精高潮| 亚洲天堂免费看| www.欧美日韩国产在线| 国产欧美一区二区精品秋霞影院| 国产主播一区二区三区| 日韩三级高清在线| 日本不卡视频在线观看| 欧美一区二视频| 日韩国产一区二| 日韩一区二区在线观看视频 | 久久精品欧美一区二区三区不卡 | 2021中文字幕一区亚洲| 青青青爽久久午夜综合久久午夜| 欧美亚洲国产一区在线观看网站 | 风流少妇一区二区| 精品国产凹凸成av人导航| 看国产成人h片视频| 日韩午夜三级在线| 日本不卡一区二区三区| 日韩精品一区二| 国产真实乱偷精品视频免| 亚洲精品一区二区三区四区高清 | 亚洲精品大片www| 欧美体内she精高潮| 天天综合色天天| 精品少妇一区二区三区| 夫妻av一区二区| 一区二区三区四区视频精品免费| 欧美手机在线视频| 日本美女一区二区| 久久久综合激的五月天| 成人app软件下载大全免费| 综合久久国产九一剧情麻豆| 在线精品视频免费观看| 久久精品免费观看| 国产欧美日韩中文久久| 91女厕偷拍女厕偷拍高清| 午夜久久久影院| 国产婷婷一区二区| 色综合久久中文综合久久97| 视频在线观看国产精品| 久久精品人人爽人人爽| 欧美性极品少妇| 国模娜娜一区二区三区| 亚洲女爱视频在线| 日韩一区二区高清| 成人综合婷婷国产精品久久免费| 中文字幕一区二区三区不卡在线| 欧美日韩一区在线观看| 国产在线不卡视频| 亚洲一区电影777| 久久精品人人爽人人爽| 在线不卡免费欧美| 成人国产精品免费观看| 日本不卡123| 亚洲免费观看高清完整版在线观看熊| 欧美一区二视频| 一本到一区二区三区| 捆绑调教美女网站视频一区| 亚洲激情中文1区| 中文字幕不卡在线| 日韩欧美一二三区| 欧美在线免费观看视频| 国产成a人亚洲| 免费欧美日韩国产三级电影| 亚洲欧美激情小说另类| 亚洲国产高清不卡| 欧美电视剧在线看免费| 欧美在线观看一二区| 成人高清视频在线| 国产一区二区三区免费| 污片在线观看一区二区| 日韩毛片视频在线看| 国产欧美精品一区二区三区四区 | 成人高清在线视频| 国产在线麻豆精品观看| 轻轻草成人在线| 天堂一区二区在线免费观看| ...av二区三区久久精品| 国产精品入口麻豆九色| 欧美精品一区二区三区一线天视频 | 美女被吸乳得到大胸91| 亚洲一区二区在线免费观看视频 | 久久99热国产| 视频在线观看一区| 午夜精品爽啪视频| 亚洲国产一区二区视频| 一区二区成人在线| 有码一区二区三区| 亚洲国产一区二区三区| 亚洲精品视频在线观看免费| 亚洲人成精品久久久久| 中文字幕在线不卡一区| 国产精品素人一区二区| 国产精品欧美一区二区三区| 国产精品久久午夜夜伦鲁鲁| 国产精品亲子乱子伦xxxx裸| 亚洲欧洲精品天堂一级| 亚洲码国产岛国毛片在线| 国产精品久久久久久久第一福利| 国产精品久久久久久久裸模 | 欧美日韩另类一区| 欧美一区二区三区免费视频| 欧美一级久久久久久久大片| 精品国产一区二区三区久久久蜜月 | 精品国产不卡一区二区三区| 久久精品夜色噜噜亚洲a∨| 国产日韩欧美麻豆| 亚洲免费电影在线| 天涯成人国产亚洲精品一区av| 免费的成人av| 粉嫩嫩av羞羞动漫久久久| 色欧美片视频在线观看| 欧美精品三级日韩久久| 久久精品夜色噜噜亚洲aⅴ| 亚洲免费电影在线| 美女一区二区在线观看| 成人美女在线观看| 91麻豆精品国产综合久久久久久| 久久一区二区三区国产精品| 最近日韩中文字幕| 免费观看成人av| 91麻豆免费看片| 91精品在线麻豆| 亚洲色图另类专区| 久久99精品久久久久久国产越南 | 26uuu国产一区二区三区| 国产精品免费av| 五月激情丁香一区二区三区| 国产电影一区二区三区| 欧美三级韩国三级日本一级| 久久久蜜桃精品| 亚洲一区二区三区在线播放| 国产一区二区中文字幕| 日本丶国产丶欧美色综合| 久久综合国产精品| 亚洲高清免费视频| 99re6这里只有精品视频在线观看|