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

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

?? ns-lib.tcl

?? ns2.31下的UWB(Ultra WideBand)實現
?? TCL
?? 第 1 頁 / 共 5 頁
字號:
# -*-	Mode:tcl; tcl-indent-level:8; tab-width:8; indent-tabs-mode:t -*-## Copyright (c) 1996 Regents of the University of California.# All rights reserved.# # Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright#    notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright#    notice, this list of conditions and the following disclaimer in the#    documentation and/or other materials provided with the distribution.# 3. All advertising materials mentioning features or use of this software#    must display the following acknowledgement:# 	This product includes software developed by the MASH Research# 	Group at the University of California Berkeley.# 4. Neither the name of the University nor of the Research Group may be#    used to endorse or promote products derived from this software without#    specific prior written permission.# # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.## @(#) $Header: /cvsroot/nsnam/ns-2/tcl/lib/ns-lib.tcl,v 1.274 2007/01/30 05:00:51 tom_henderson Exp $## Word of warning to developers:# this code (and all it sources) is compiled into the# ns executable.  You need to rebuild ns or explicitly# source this code to see changes take effect.#proc warn {msg} {	global warned_	if {![info exists warned_($msg)]} {		puts stderr "warning: $msg"		set warned_($msg) 1	}}if {[info commands debug] == ""} {	proc debug args {		warn {Script debugging disabled.  Reconfigure with --with-tcldebug, and recompile.}	}}proc assert args {        if [catch "expr $args" ret] {                set ret [eval expr $args]        }        if {! $ret} {                error "assertion failed: $args"        }}proc find-max list {	set max 0	foreach val $list {		if {$val > $max} {			set max $val		}	}	return $max}proc bw_parse { bspec } {	if { [scan $bspec "%f%s" b unit] == 1 } {		set unit bps	}	regsub {[/p]s(ec)?$} $unit {} unit	if [string match {*B} $unit] {		set b [expr $b*8]		set unit "[string trimright $unit B]b"	}	switch $unit {		b { return $b }		kb { return [expr $b*1000] }		Mb { return [expr $b*1000000] }		Gb { return [expr $b*1000000000] }		default { 			puts "error: bw_parse: unknown unit `$unit'" 			exit 1		}	}}proc time_parse { spec } {	if { [scan $spec "%f%s" t unit] == 1 } {		set unit s	}	regsub {sec$} $unit {s} unit	switch $unit {		s { return $t }		ms { return [expr $t*1e-3] }		us { return [expr $t*1e-6] }		ns { return [expr $t*1e-9] }		ps { return [expr $t*1e-12] }		default { 			puts "error: time_parse: unknown unit `$unit'" 			exit 1		}	}}proc delay_parse { spec } {	return [time_parse $spec]}## Create the core OTcl class called "Simulator".# This is the principal interface to the simulation engine.##Class Simulator## XXX Whenever you modify the source list below, please also change the# OTcl script dependency list in Makefile.in#source ns-autoconf.tclsource ns-address.tclsource ns-node.tclsource ns-rtmodule.tclsource ns-hiernode.tclsource ns-mobilenode.tclsource ns-bsnode.tclsource ns-link.tclsource ns-source.tclsource ns-compat.tclsource ns-packet.tclsource ns-queue.tclsource ns-trace.tclsource ns-random.tclsource ns-agent.tclsource ns-route.tclsource ns-errmodel.tclsource ns-intserv.tclsource ns-cmutrace.tclsource ns-mip.tclsource ns-sat.tcl#source ns-nix.tclsource ns-diffusion.tclsource ../rtp/session-rtp.tclsource ../interface/ns-iface.tclsource ../lan/ns-mac.tcl# Added by Sushmita to support event tracing for mac-simple and 802.11source ../lan/ns-mac-simple.tclsource ../lan/ns-mac-802_11.tclsource ../lan/ns-ll.tclsource ../lan/vlan.tclsource ../lan/abslan.tclsource ../mcast/timer.tclsource ../mcast/ns-mcast.tclsource ns-srcrt.tclsource ../mcast/McastProto.tclsource ../mcast/DM.tclsource ../ctr-mcast/CtrMcast.tclsource ../ctr-mcast/CtrMcastComp.tclsource ../ctr-mcast/CtrRPComp.tclsource ../mcast/BST.tclsource ../mcast/srm.tclsource ../mcast/srm-ssm.tcl# These files removed due to licensing conflicts# source ../mcast/mftp_snd.tcl# source ../mcast/mftp_rcv.tcl# source ../mcast/mftp_rcv_stat.tclsource ../mcast/McastMonitor.tclsource ../rlm/rlm.tclsource ../rlm/rlm-ns.tclsource ../session/session.tclsource ../webcache/http-server.tclsource ../webcache/http-cache.tclsource ../webcache/http-agent.tclsource ../webcache/http-mcache.tclsource ../webcache/webtraf.tclsource ../webcache/empweb.tclsource ns-namsupp.tclsource ../mobility/dsdv.tclsource ../mobility/dsr.tclsource ../mobility/com.tclsource ../plm/plm.tclsource ../plm/plm-ns.tclsource ../plm/plm-topo.tcl# MPLSsource ../mpls/ns-mpls-simulator.tclsource ../mpls/ns-mpls-node.tclsource ../mpls/ns-mpls-ldpagent.tclsource ../mpls/ns-mpls-classifier.tclsource ns-default.tclsource ../emulate/ns-emulate.tcl#pushbacksource ns-pushback.tcl# PGM#source ../pgm/ns-pgm.tcl#LMSsource ../mcast/ns-lms.tcl# STL dependent modules get included# ONLY when STL is foundif {[ns-hasSTL] == 1} {source ns-nix.tclsource ../pgm/ns-pgm.tclsource ../rtglib/ns-rtProtoLS.tclsource ../delaybox/delaybox.tclsource ../packmime/packmime.tcl}source ns-qsnode.tcl# Obsolete modules#source ns-wireless-mip.tcl#source ns-nam.tclSimulator instproc init args {	# Debojyoti added this for asim 	$self instvar useasim_	$self instvar slinks_	$self instvar nconn_	$self instvar sflows_	$self instvar nsflows_			set slinks_(0:0) 0	set nconn_ 0	set conn_ ""	# for short flows stuff	set sflows_ "" 	set nsflows_ 0	set useasim_ 0	$self create_packetformat	$self use-scheduler Calendar	#$self use-scheduler List	$self set nullAgent_ [new Agent/Null]	$self set-address-format def	if {[lindex $args 0] == "-multicast"} {		$self multicast $args	}	eval $self next $args}Simulator instproc nullagent {} {	$self instvar nullAgent_	return $nullAgent_}Simulator instproc use-scheduler type {	$self instvar scheduler_	if [info exists scheduler_] {		if { [$scheduler_ info class] == "Scheduler/$type" } {			return		} else {			delete $scheduler_		}	}	set scheduler_ [new Scheduler/$type]	$scheduler_ now}Simulator instproc delay_parse { spec } {	return [time_parse $spec]}Simulator instproc bw_parse { spec } {	return [bw_parse $spec]}## A simple method to wrap any object around# a trace object that dumps to stdout#Simulator instproc dumper obj {	set t [$self alloc-trace hop stdout]	$t target $obj	return $t}# New node structure## Add APT to support multi-interface: user can specified multiple channels# when config nod. Still need modifications in routing agents to make# multi-interfaces really work.   -chen xuan  07/21/00## Define global node configuration# $ns_ node-config -addressType flat/hierarchical#                  -adhocRouting   DSDV/DSR/TORA#                  -llType#                  -macType#                  -propType#                  -ifqType#                  -ifqLen#                  -phyType#                  -antType#		   -channel#                  -channelType#                  -topologyInstance#                  -wiredRouting   ON/OFF#                  -mobileIP       ON/OFF#                  -energyModel    "EnergyModel"#                  -initialEnergy  (in Joules)#                  -rxPower        (in W)#                  -txPower        (in W)#                  -idlePower      (in W)##                  -sleepPower 	   (in W)#		   -sleepTime	   (in sec indicating when the node can start sleeping)#                  -agentTrace  ON#                  -routerTrace ON #                  -macTrace OFF #                  -toraDebug OFF                #                  -movementTrace OFF# change wrt Mike's code#                  -eotTrace OFF#                  -diffusionFilter "GradientFilter/OnePhasePullFilter/GeoRoutingFilter/RmstFilter/SourceRouteFilter/LogFilter/TagFilter"Simulator instproc addressType  {val} { $self set addressType_  $val }Simulator instproc adhocRouting  {val} { $self set routingAgent_  $val }Simulator instproc llType  {val} { $self set llType_  $val }Simulator instproc macType  {val} { $self set macType_  $val }Simulator instproc propType  {val} { $self set propType_  $val }Simulator instproc propInstance  {val} { $self set propInstance_  $val }Simulator instproc ifqType  {val} { $self set ifqType_  $val }Simulator instproc ifqLen  {val} { $self set ifqlen_  $val }Simulator instproc phyType  {val} { $self set phyType_  $val }Simulator instproc antType  {val} { $self set antType_  $val }Simulator instproc channel {val} {$self set channel_ $val}Simulator instproc channelType {val} {$self set channelType_ $val}Simulator instproc topoInstance {val} {$self set topoInstance_ $val}Simulator instproc wiredRouting {val} {$self set wiredRouting_ $val}Simulator instproc mobileIP {val} {$self set mobileIP_ $val}Simulator instproc energyModel  {val} { $self set energyModel_  $val }Simulator instproc initialEnergy  {val} { $self set initialEnergy_  $val }Simulator instproc txPower  {val} { $self set txPower_  $val }Simulator instproc rxPower  {val} { $self set rxPower_  $val }Simulator instproc idlePower  {val} { $self set idlePower_  $val }#Simulator instproc sleepPower  {val} { $self set sleepPower_  $val }Simulator instproc sleepTime  {val} { $self set sleepTime_  $val }Simulator instproc transitionPower  {val} { $self set transitionPower_  $val }Simulator instproc transitionTime  {val} { $self set transitionTime_  $val }#Simulator instproc IncomingErrProc  {val} { $self set inerrProc_  $val }Simulator instproc OutgoingErrProc  {val} { $self set outerrProc_  $val }Simulator instproc FECProc  {val} { $self set FECProc_  $val }Simulator instproc agentTrace  {val} { $self set agentTrace_  $val }Simulator instproc routerTrace  {val} { $self set routerTrace_  $val }Simulator instproc macTrace  {val} { $self set macTrace_  $val }Simulator instproc movementTrace  {val} { $self set movementTrace_  $val }Simulator instproc toraDebug {val} {$self set toraDebug_ $val }Simulator instproc satNodeType {val} {$self set satNodeType_ $val}Simulator instproc downlinkBW {val} {$self set downlinkBW_ $val}Simulator instproc stopTime {val} {$self set stopTime_ $val}# change wrt Mike's codeSimulator instproc eotTrace  {val} { $self set eotTrace_  $val }Simulator instproc diffusionFilter {val} {$self set diffFilter_ $val}Simulator instproc MPLS { val } { 	if { $val == "ON" } {		Node enable-module "MPLS"	} else {		Node disable-module "MPLS"	}}Simulator instproc PGM { val } {         if { $val == "ON" } {                Node enable-module "PGM"        } else {                Node disable-module "PGM"        }}Simulator instproc LMS { val } {	if { $val == "ON" } {		Node enable-module "LMS"	} else {		Node disable-module "LMS"	}}Simulator instproc get-nodetype {} {	$self instvar addressType_ routingAgent_ wiredRouting_ 	set val ""	if { [info exists addressType_] && $addressType_ == "hierarchical" } {		set val Hier	}	if { [info exists routingAgent_] && $routingAgent_ != "" } {		set val Mobile	}	if { [info exists wiredRouting_] && $wiredRouting_ == "ON" } {		set val Base	}	if { [info exists wiredRouting_] && $wiredRouting_ == "OFF"} {		set val Base	}	if { [Simulator set mobile_ip_] } {		if { $val == "Base" && $wiredRouting_ == "ON" } {			set val MIPBS		}		if { $val == "Base" && $wiredRouting_ == "OFF" } {			set val MIPMH		}	}	return $val}Simulator instproc node-config args {        # Object::init-vars{} is defined in ~tclcl/tcl-object.tcl.        # It initializes all default variables in the following way:        #  1.  Look for pairs of {-cmd val} in args        #  2.  If "$self $cmd $val" is not valid then put it in a list of         #      arguments to be returned to the caller.        #         # Since we do not handle undefined {-cmd val} pairs, we ignore         # return value from init-vars{}.        set args [eval $self init-vars $args]        $self instvar addressType_  routingAgent_ propType_  macTrace_ \	    routerTrace_ agentTrace_ movementTrace_ channelType_ channel_ \	    chan topoInstance_ propInstance_ mobileIP_ \	    rxPower_ txPower_ idlePower_ sleepPower_ sleepTime_ transitionPower_ \	    transitionTime_ satNodeType_ eotTrace_        if [info exists macTrace_] {		Simulator set MacTrace_ $macTrace_	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成av人片在www色猫咪| 欧美色图在线观看| 久久综合九色综合欧美98| 日本vs亚洲vs韩国一区三区| 欧美日韩高清一区二区三区| 亚洲高清免费一级二级三级| 亚洲国产精品v| 国产成人在线视频网站| 国产精品色一区二区三区| 粉嫩蜜臀av国产精品网站| 国产精品免费免费| 欧洲av一区二区嗯嗯嗯啊| 婷婷综合久久一区二区三区| 日韩女同互慰一区二区| 国精产品一区一区三区mba视频| 久久嫩草精品久久久久| 99国产精品视频免费观看| 香蕉av福利精品导航| 精品久久久久久最新网址| 岛国精品一区二区| 亚洲一区二区高清| 日韩欧美色电影| 99久久久无码国产精品| 午夜成人免费电影| 国产日产亚洲精品系列| 色综合av在线| 国产综合成人久久大片91| 日韩美女精品在线| 欧美一级片在线| 成人av影视在线观看| 视频一区在线播放| 欧美国产禁国产网站cc| 欧美日韩国产不卡| 久久精品男人天堂av| 日韩精品电影在线| 日韩视频不卡中文| 麻豆精品视频在线观看| 国产精品国产三级国产a| 欧美裸体bbwbbwbbw| 国产成人免费在线观看| 五月激情丁香一区二区三区| 欧美激情一区二区三区蜜桃视频| 欧美在线免费观看视频| 国产麻豆精品在线观看| 婷婷成人激情在线网| 国产精品短视频| 精品少妇一区二区三区日产乱码 | 色欧美乱欧美15图片| 美美哒免费高清在线观看视频一区二区 | 欧美国产1区2区| 99久久99久久精品免费观看| 日韩国产精品大片| 亚洲欧美电影一区二区| 欧美精品一区二区蜜臀亚洲| 欧美日韩一二三区| 99久久精品免费看国产 | 日本一道高清亚洲日美韩| 中文字幕亚洲视频| 久久免费偷拍视频| 日韩欧美精品三级| 精品1区2区3区| 色偷偷久久人人79超碰人人澡| 国产九九视频一区二区三区| 免费精品视频在线| 亚洲午夜私人影院| 亚洲女同一区二区| 国产精品久久久久久久久图文区| 久久婷婷成人综合色| 欧美xxx久久| 日韩欧美另类在线| 日韩免费观看高清完整版在线观看 | 18欧美亚洲精品| 国产精品无遮挡| 国产日韩精品一区二区三区在线| 精品盗摄一区二区三区| 日韩美女视频一区二区在线观看| 欧美日韩不卡视频| 欧美精品高清视频| 欧美裸体一区二区三区| 欧美精品aⅴ在线视频| 欧美精品日韩一区| 欧美一级国产精品| 精品国产电影一区二区| 欧美精品一区二区久久久| 亚洲精品一区二区三区福利| 精品成人在线观看| 国产无一区二区| 亚洲欧洲日韩一区二区三区| 中文字幕综合网| 一区二区三区在线看| 亚洲mv在线观看| 日本欧美大码aⅴ在线播放| 免费观看日韩电影| 国产一区不卡精品| www.综合网.com| 一本到高清视频免费精品| 日韩精品中文字幕一区二区三区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 天天综合日日夜夜精品| 日韩va亚洲va欧美va久久| 久草精品在线观看| 国产精品原创巨作av| jizzjizzjizz欧美| 欧美性大战久久久久久久蜜臀| 欧美放荡的少妇| xnxx国产精品| 综合欧美一区二区三区| 亚洲国产成人av网| 国产一区二区剧情av在线| 99国产精品国产精品久久| 欧美自拍偷拍一区| 欧美精品一区二区三区四区| 亚洲同性gay激情无套| 亚洲制服丝袜在线| 国产一区欧美一区| 91免费观看视频在线| 欧美一区2区视频在线观看| 久久精品视频在线看| 一区二区在线看| 国产真实乱对白精彩久久| 日本道精品一区二区三区| 精品国产成人在线影院| 一区二区三区色| 国产成人亚洲综合色影视| 精品视频一区 二区 三区| 久久精品人人做人人综合| 亚洲曰韩产成在线| 成人看片黄a免费看在线| 亚洲综合另类小说| 91小视频在线观看| 欧美经典一区二区| 精品sm捆绑视频| 亚洲国产精品久久艾草纯爱| 国产乱妇无码大片在线观看| 欧美三级三级三级爽爽爽| 国产视频一区二区在线| 日韩不卡一区二区| 色婷婷综合五月| 国产精品视频一二三| 美女精品自拍一二三四| 欧美中文字幕一区| 一区二区三区加勒比av| 国产电影精品久久禁18| 5566中文字幕一区二区电影| 亚洲日本电影在线| 粉嫩aⅴ一区二区三区四区| 欧美一级黄色大片| 午夜精品久久久久久久久| 99久久综合99久久综合网站| 久久精品亚洲一区二区三区浴池 | 一区二区三区精品视频| 成人一区二区三区| 久久中文字幕电影| 日本大胆欧美人术艺术动态| 欧美优质美女网站| 亚洲精品中文字幕在线观看| 成人免费三级在线| 国产三级精品三级在线专区| 精品亚洲aⅴ乱码一区二区三区| 欧美日韩高清一区二区| 亚洲福中文字幕伊人影院| 91美女在线视频| 亚洲欧美另类久久久精品 | 国产精品久久久久aaaa| 国产福利一区在线| 久久久久国产一区二区三区四区| 麻豆91免费观看| 日韩久久久精品| 国内成人精品2018免费看| 久久人人爽人人爽| 国产成人一级电影| 欧美激情综合在线| 成人一区二区三区| 最新欧美精品一区二区三区| 成人丝袜18视频在线观看| 国产亚洲精品福利| 成人国产电影网| 亚洲男人的天堂av| 欧美性色欧美a在线播放| 午夜不卡在线视频| 日韩一二三四区| 国产福利电影一区二区三区| 亚洲福利电影网| 日韩精品专区在线| 国产成人av一区二区| 亚洲欧洲国产日韩| 欧美色综合久久| 麻豆91免费观看| 国产精品久久久久影院老司 | 日韩一区二区免费在线电影| 毛片不卡一区二区| 国产丝袜在线精品| 色综合av在线| 男人的天堂久久精品| 久久久久国产精品免费免费搜索| 成人av在线网站| 亚洲成人免费影院| 亚洲精品一区二区三区99| www.日韩精品| 五月综合激情网|