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

📄 ns-default.tcl

📁 R. Lo Cigno, P. Larcheri 802.11e closed-loop scheduling Description: ns-2 package for 802.11e clo
💻 TCL
📖 第 1 页 / 共 3 页
字号:
#added for keeping RTT statsQueueMonitor set keepRTTstats_ 0QueueMonitor set maxRTT_ 5QueueMonitor set binsPerSec_ 100#added for keeping Seqno statsQueueMonitor set keepSeqnoStats_ 0QueueMonitor set maxSeqno_ 1000QueueMonitor set SeqnoBinSize_ 10#added for online rate monitoring - ratulQueueMonitor set k_ 0.1QueueMonitor set prevTime_ 0QueueMonitor set startTime_ 0QueueMonitor set estRate_ 0QueueMonitor set estimate_rate_ 0QueueMonitor/ED set epdrops_ 0QueueMonitor/ED set ebdrops_ 0#mon stuff added for RedPD and Pushback - ratulQueueMonitor/ED set mon_epdrops_ 0                     QueueMonitor/ED set mon_ebdrops_ 0QueueMonitor/ED/Flowmon set enable_in_ trueQueueMonitor/ED/Flowmon set enable_out_ trueQueueMonitor/ED/Flowmon set enable_drop_ trueQueueMonitor/ED/Flowmon set enable_edrop_ trueQueueMonitor/ED/Flowmon set enable_mon_edrop_ trueQueueMonitor/ED/Flow set src_ -1QueueMonitor/ED/Flow set dst_ -1QueueMonitor/ED/Flow set flowid_ -1QueueMonitor/ED/Flow/TB set target_rate_ 128000 QueueMonitor/ED/Flow/TB set bucket_depth_ 10000QueueMonitor/ED/Flow/TB set tbucket_ 10000QueueMonitor/ED/Flow/TSW set target_rate_ 0QueueMonitor/ED/Flow/TSW set win_len_ 10QueueMonitor/ED/Flow/TSW set wait_ true#RedPDFlow  - ratulQueueMonitor/ED/Flow/RedPD set targetBW_ 0QueueMonitor/ED/Flow/RedPD set currentBW_ 0QueueMonitor/ED/Flow/RedPD set monitored_ 0QueueMonitor/ED/Flow/RedPD set unresponsive_ 0QueueMonitor/ED/Flow/RedPD set monitorStartTime_ 0QueueMonitor/ED/Flow/RedPD set unresponsiveStartTime_ 0QueueMonitor/ED/Flow/RedPD set lastDropTime_ 0 QueueMonitor/ED/Flow/RedPD set auto_ 0 DelayLink set bandwidth_ 1.5MbDelayLink set delay_ 100msDelayLink set debug_ falseDynamicLink set status_ 1DynamicLink set debug_ falseFilter set debug_ falseFilter/Field set offset_ 0Filter/Field set match_  -1# these are assigned when createdClassifier set offset_ 0Classifier set shift_ 0Classifier set mask_ 0xffffffffClassifier set debug_ falseClassifier/Hash set default_ -1; # noneClassifier/Replicator set ignore_ 0# MPLS ClassifierClassifier/Addr/MPLS set ttl_   32Classifier/Addr/MPLS set trace_mpls_ 0Classifier/Addr/MPLS set label_ -1Classifier/Addr/MPLS set enable_reroute_    0Classifier/Addr/MPLS set reroute_option_ 0Classifier/Addr/MPLS set control_driven_ 0Classifier/Addr/MPLS set data_driven_ 0## FEC models#FECModel set debug_ false## Error models#ErrorModule set debug_ falseErrorModel set enable_ 1ErrorModel set markecn_ falseErrorModel set delay_pkt_ falseErrorModel set delay_ 0ErrorModel set rate_ 0ErrorModel set bandwidth_ 2MbErrorModel set debug_ falseErrorModel/Trace set good_ 123456789ErrorModel/Trace set loss_ 0ErrorModel/Periodic set period_ 1.0ErrorModel/Periodic set offset_ 0.0ErrorModel/Periodic set burstlen_ 0.0ErrorModel/MultiState set curperiod_ 0.0ErrorModel/MultiState set sttype_ pktErrorModel/MultiState set texpired_ 0SelectErrorModel set enable_ 1SelectErrorModel set markecn_ falseSelectErrorModel set rate_ 0SelectErrorModel set bandwidth_ 2MbSelectErrorModel set pkt_type_ 2SelectErrorModel set drop_cycle_ 10SelectErrorModel set drop_offset_ 1SelectErrorModel set debug_ falseSelectErrorModel set delay_pkt_ falseSelectErrorModel set delay_ 0SRMErrorModel set enable_ 1SRMErrorModel set markecn_ falseSRMErrorModel set rate_ 0SRMErrorModel set bandwidth_ 2MbSRMErrorModel set pkt_type_ 2SRMErrorModel set drop_cycle_ 10SRMErrorModel set drop_offset_ 1SRMErrorModel set debug_ falseSRMErrorModel set delay_pkt_ falseSRMErrorModel set delay_ 0#MrouteErrorModel set enable_ 1#MrouteErrorModel set rate_ 0#MrouteErrorModel set bandwidth_ 2Mb#MrouteErrorModel set pkt_type_ 2#MrouteErrorModel set drop_cycle_ 10#MrouteErrorModel set drop_offset_ 1#MrouteErrorModel set good_ 99999999#MrouteErrorModel set loss_ 0rtModel set startTime_ 0.5rtModel set finishTime_ "-"rtModel/Exponential set upInterval_   10.0rtModel/Exponential set downInterval_  1.0rtModel/Deterministic set upInterval_   2.0rtModel/Deterministic set downInterval_ 1.0## Application#Application/Traffic/CBR_PP set rate_ 448Kb ;# corresponds to interval of 3.75msApplication/Traffic/CBR_PP set packetSize_ 210Application/Traffic/CBR_PP set random_ 0Application/Traffic/CBR_PP set maxpkts_ 268435456; # 0x10000000Application/Traffic/CBR_PP set PBM_ 2Application/Traffic/Exponential set burst_time_ .5Application/Traffic/Exponential set idle_time_ .5Application/Traffic/Exponential set rate_ 64KbApplication/Traffic/Exponential set packetSize_ 210Application/Traffic/Pareto set burst_time_ 500msApplication/Traffic/Pareto set idle_time_ 500msApplication/Traffic/Pareto set rate_ 64KbApplication/Traffic/Pareto set packetSize_ 210Application/Traffic/Pareto set shape_ 1.5Application/Traffic/RealAudio set burst_time_ 0.05msApplication/Traffic/RealAudio set idle_time_ 1800msApplication/Traffic/RealAudio set rate_ 2KbApplication/Traffic/RealAudio set packetSize_ 240Application/Traffic/RealAudio set minCDF_ 0Application/Traffic/RealAudio set maxCDF_ 1Application/Traffic/RealAudio set interpolation_ 0Application/Traffic/RealAudio set maxEntry_ 32Application/Traffic/CBR set rate_ 448Kb	;# corresponds to interval of 3.75msApplication/Traffic/CBR set packetSize_ 210Application/Traffic/CBR set random_ 0Application/Traffic/CBR set maxpkts_ 268435456; # 0x10000000# Note: VBR settings are passed directly to C++ classes.Application/Traffic/VBR set maxpkts_ 268435456; # 0x10000000Application/Traffic/VBR set packetSize_ 210Application/Telnet set interval_ 1.0RandomVariable/Uniform set min_ 0.0RandomVariable/Uniform set max_ 1.0RandomVariable/Exponential set avg_ 1.0RandomVariable/Pareto set avg_ 1.0RandomVariable/Pareto set shape_ 1.5RandomVariable/ParetoII set avg_ 10.0RandomVariable/ParetoII set shape_ 1.2RandomVariable/Constant set val_ 1.0RandomVariable/HyperExponential set avg_ 1.0RandomVariable/HyperExponential set cov_ 4.0RandomVariable/Empirical set minCDF_ 0RandomVariable/Empirical set maxCDF_ 1RandomVariable/Empirical set interpolation_ 0RandomVariable/Empirical set maxEntry_ 32RandomVariable/Normal set avg_ 0.0RandomVariable/Normal set std_ 1.0RandomVariable/LogNormal set avg_ 1.0RandomVariable/LogNormal set std_ 1.0ADC/MS set debug_ falseADC/HB set debug_ falseADC/Param set debug_ falseADC/ACTP set debug_ falseADC/ACTO set debug_ falseEst/Null set debug_ falseEst/TimeWindow set debug_ falseEst/ExpAvg set debug_ falseEst/PointSample set debug_ falseMeasureMod set debug_ falseSALink set debug_ false## Node#Node set multiPath_ 0Node set rtagent_port_ 255# setting port for diffusion application agentNode set DIFFUSION_APP_PORT 254Node/MobileNode set X_				0Node/MobileNode set Y_				0Node/MobileNode set Z_				0Node/MobileNode set speed_				0Node/MobileNode set position_update_interval_	0Node/MobileNode set bandwidth_			0	;# not usedNode/MobileNode set delay_				0	;# not usedNode/MobileNode set REGAGENT_PORT 0Node/MobileNode set DECAP_PORT 1# Default settings for Hierarchical topology## Bits are allocated for different fields like port, nodeid, mcast, # hierarchical-levels. # All Mask and Shift values are stored in Class AddrParams.AddrParams set ALL_BITS_SET 0xffffffffAddrParams PortShift 0AddrParams PortMask [AddrParams set ALL_BITS_SET]AddrParams set domain_num_ 1AddrParams set def_clusters 4AddrParams set def_nodes 5####  Default and Maximum Address space - leaving the MSB as signed bitAllocAddrBits set DEFADDRSIZE_ 32AllocAddrBits set MAXADDRSIZE_ 32                ;# leaving the signed bitSimulator set node_factory_ NodeSimulator set nsv1flag 0Simulator set mobile_ip_ 0			 ;# flag for mobileIP#this was commented out - ratul#Simulator set EnableHierRt_ 0   ;# is hierarchical routing on?  (to turn it on, call set-hieraddress)Simulator set routingAgent_ ""Simulator set addressType_   ""Simulator set MovementTrace_ OFF# This flag should be initially empty. It will be set to either ON or OFF# by Simulator::create-wireless-node{}. Simulator set IMEPFlag_ ""Simulator set WirelessNewTrace_ 0Simulator set propInstCreated_ 0# Enable packet reference countSessionSim set rc_ 0# Defaults for multicast addressesSimulator set McastBaseAddr_ 0x80000000Simulator set McastAddr_ 0x80000000# Default values used for wireless simulationsSimulator set AgentTrace_ ONSimulator set RouterTrace_ OFFSimulator set MacTrace_   OFF# use tagged traces or positional traces?Simulator set TaggedTrace_ OFFSessionHelper set rc_ 0                      ;# just to eliminate warningsSessionHelper set debug_ falseNetworkInterface set debug_ false# SRM Agent defaults are in ../tcl/mcast/srm.tcl and ../mcast/srm-adaptive.tcl# IntServ Object specific defaults are in ../tcl/lib/ns-intserv.tcl# defaults for tbfTBF set rate_ 64kTBF set bucket_ 1024TBF set qlen_ 0## mobile Ip#MIPEncapsulator set addr_ 0MIPEncapsulator set port_ 0MIPEncapsulator set shift_ 0MIPEncapsulator set mask_ [AddrParams set ALL_BITS_SET]MIPEncapsulator set ttl_ 32MIPEncapsulator set debug_ false# GAF GAFPartner set addr_ 0GAFPartner set port_ 254GAFPartner set shift_ 0GAFPartner set mask_ [AddrParams set ALL_BITS_SET]GAFPartner set debug_ false                   # HTTP-related defaults are in ../tcl/webcache/http-agent.tcl## Wireless simulation support #Mac set debug_ falseARPTable set debug_ falseGod set debug_ falseMac/Tdma set slot_packet_len_	1500Mac/Tdma set max_node_num_	64LL set mindelay_                50usLL set delay_                   25usLL set bandwidth_               0       ;# not usedLL set debug_ falseSnoop set debug_ false# # Support for Abstract LAN#Classifier/Replicator set direction_ falseMac set abstract_ false## Support for MAC Level trace#Mac/802_3 set trace_ false## Unity gain, omni-directional antennas# Set up the antennas to be centered in the node and 1.5 meters above itAntenna/OmniAntenna set X_ 0Antenna/OmniAntenna set Y_ 0Antenna/OmniAntenna set Z_ 1.5 Antenna/OmniAntenna set Gt_ 1.0Antenna/OmniAntenna set Gr_ 1.0# Initialize the SharedMedia interface with parameters to make# it work like the 914MHz Lucent WaveLAN DSSS radio interfacePhy/WirelessPhy set CPThresh_ 10.0Phy/WirelessPhy set CSThresh_ 1.559e-11Phy/WirelessPhy set RXThresh_ 3.652e-10Phy/WirelessPhy set bandwidth_ 2e6Phy/WirelessPhy set Pt_ 0.28183815Phy/WirelessPhy set freq_ 914e+6Phy/WirelessPhy set L_ 1.0  Phy/WirelessPhy set debug_ falsePhy/WiredPhy set bandwidth_ 10e6Phy/WiredPhy set debug_ falsePhy/Repeater set debug_ falseLanRouter set debug_ falsePhy/Sat set debug_ falseMac/Sat set debug_ falseLL/Sat set debug_ false# Shadowing propagation modelPropagation/Shadowing set pathlossExp_ 2.0Propagation/Shadowing set std_db_ 4.0Propagation/Shadowing set dist0_ 1.0Propagation/Shadowing set seed_ 0# variables of the link state module is moved to ns-rtProtoLS.tcl## Agents#Agent set fid_ 0Agent set prio_ 0Agent set agent_addr_ -1Agent set agent_port_ -1Agent set dst_addr_ -1Agent set dst_port_ -1Agent set flags_ 0Agent set ttl_ 32 ; # arbitrary choice hereAgent set debug_ falseAgent set class_ 0##Agent set seqno_ 0 now is gone##Agent set class_ 0 now is goneAgent/Ping set packetSize_ 64Agent/UDP set packetSize_ 1200Agent/UDP instproc done {} { }Agent/UDP instproc process_data {from data} { }Agent/TCP set seqno_ 0Agent/TCP set t_seqno_ 0Agent/TCP set maxburst_ 0Agent/TCP set maxcwnd_ 0Agent/TCP set numdupacks_ 3Agent/TCP set numdupacksFrac_ 100 ;	# Added 2002/10/18.Agent/TCP set window_ 20# Agent/TCP set windowInit_ 1

⌨️ 快捷键说明

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