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

📄 etx_traffic.tcl

📁 thomson_mesh_modules_Enhanced Wireless Mesh Networking for ns-2 simulator
💻 TCL
📖 第 1 页 / 共 4 页
字号:
# TRAFFIC Agents   set tcp_(0) [new Agent/TCP]   $tcp_(0) set class_ 2   set sink_(0) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(0)   $ns_ attach-agent $node_(3) $tcp_(0)   $ns_ attach-agent $node_(0) $sink_(0)   $ns_ connect $tcp_(0) $sink_(0)   set ftp_(0) [new Application/FTP]   $ftp_(0) attach-agent $tcp_(0)   $ns_ at 5.895191 "$ftp_(0) start"      set tcp_(1) [new Agent/TCP]   $tcp_(1) set class_ 2   set sink_(1) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(1)   $ns_ attach-agent $node_(3) $tcp_(1)   $ns_ attach-agent $node_(1) $sink_(1)   $ns_ connect $tcp_(1) $sink_(1)   set ftp_(1) [new Application/FTP]   $ftp_(1) attach-agent $tcp_(1)   $ns_ at 5.172365 "$ftp_(1) start"      set tcp_(2) [new Agent/TCP]   $tcp_(2) set class_ 2   set sink_(2) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(2)   $ns_ attach-agent $node_(3) $tcp_(2)   $ns_ attach-agent $node_(2) $sink_(2)   $ns_ connect $tcp_(2) $sink_(2)   set ftp_(2) [new Application/FTP]   $ftp_(2) attach-agent $tcp_(2)   $ns_ at 5.713675 "$ftp_(2) start"      set tcp_(4) [new Agent/TCP]   $tcp_(4) set class_ 2   set sink_(4) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(4)   $ns_ attach-agent $node_(3) $tcp_(4)   $ns_ attach-agent $node_(4) $sink_(4)   $ns_ connect $tcp_(4) $sink_(4)   set ftp_(4) [new Application/FTP]   $ftp_(4) attach-agent $tcp_(4)   $ns_ at 5.504638 "$ftp_(4) start"      set tcp_(6) [new Agent/TCP]   $tcp_(6) set class_ 2   set sink_(6) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(6)   $ns_ attach-agent $node_(5) $tcp_(6)   $ns_ attach-agent $node_(6) $sink_(6)   $ns_ connect $tcp_(6) $sink_(6)   set ftp_(6) [new Application/FTP]   $ftp_(6) attach-agent $tcp_(6)   $ns_ at 5.320386 "$ftp_(6) start"      set tcp_(7) [new Agent/TCP]   $tcp_(7) set class_ 2   set sink_(7) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(7)   $ns_ attach-agent $node_(5) $tcp_(7)   $ns_ attach-agent $node_(7) $sink_(7)   $ns_ connect $tcp_(7) $sink_(7)   set ftp_(7) [new Application/FTP]   $ftp_(7) attach-agent $tcp_(7)   $ns_ at 5.881413 "$ftp_(7) start"      set tcp_(8) [new Agent/TCP]   $tcp_(8) set class_ 2   set sink_(8) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(8)   $ns_ attach-agent $node_(5) $tcp_(8)   $ns_ attach-agent $node_(8) $sink_(8)   $ns_ connect $tcp_(8) $sink_(8)   set ftp_(8) [new Application/FTP]   $ftp_(8) attach-agent $tcp_(8)   $ns_ at 5.916223 "$ftp_(8) start"      set tcp_(9) [new Agent/TCP]   $tcp_(9) set class_ 2   set sink_(9) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(9)   $ns_ attach-agent $node_(5) $tcp_(9)   $ns_ attach-agent $node_(9) $sink_(9)   $ns_ connect $tcp_(9) $sink_(9)   set ftp_(9) [new Application/FTP]   $ftp_(9) attach-agent $tcp_(9)   $ns_ at 5.244372 "$ftp_(9) start"      set tcp_(10) [new Agent/TCP]   $tcp_(10) set class_ 2   set sink_(10) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(10)   $ns_ attach-agent $node_(31) $tcp_(10)   $ns_ attach-agent $node_(10) $sink_(10)   $ns_ connect $tcp_(10) $sink_(10)   set ftp_(10) [new Application/FTP]   $ftp_(10) attach-agent $tcp_(10)   $ns_ at 5.815137 "$ftp_(10) start"      set tcp_(11) [new Agent/TCP]   $tcp_(11) set class_ 2   set sink_(11) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(11)   $ns_ attach-agent $node_(3) $tcp_(11)   $ns_ attach-agent $node_(11) $sink_(11)   $ns_ connect $tcp_(11) $sink_(11)   set ftp_(11) [new Application/FTP]   $ftp_(11) attach-agent $tcp_(11)   $ns_ at 5.913286 "$ftp_(11) start"      set tcp_(12) [new Agent/TCP]   $tcp_(12) set class_ 2   set sink_(12) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(12)   $ns_ attach-agent $node_(3) $tcp_(12)   $ns_ attach-agent $node_(12) $sink_(12)   $ns_ connect $tcp_(12) $sink_(12)   set ftp_(12) [new Application/FTP]   $ftp_(12) attach-agent $tcp_(12)   $ns_ at 5.659571 "$ftp_(12) start"      set tcp_(13) [new Agent/TCP]   $tcp_(13) set class_ 2   set sink_(13) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(13)   $ns_ attach-agent $node_(3) $tcp_(13)   $ns_ attach-agent $node_(13) $sink_(13)   $ns_ connect $tcp_(13) $sink_(13)   set ftp_(13) [new Application/FTP]   $ftp_(13) attach-agent $tcp_(13)   $ns_ at 5.455229 "$ftp_(13) start"      set tcp_(14) [new Agent/TCP]   $tcp_(14) set class_ 2   set sink_(14) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(14)   $ns_ attach-agent $node_(3) $tcp_(14)   $ns_ attach-agent $node_(14) $sink_(14)   $ns_ connect $tcp_(14) $sink_(14)   set ftp_(14) [new Application/FTP]   $ftp_(14) attach-agent $tcp_(14)   $ns_ at 5.582332 "$ftp_(14) start"      set tcp_(15) [new Agent/TCP]   $tcp_(15) set class_ 2   set sink_(15) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(15)   $ns_ attach-agent $node_(5) $tcp_(15)   $ns_ attach-agent $node_(15) $sink_(15)   $ns_ connect $tcp_(15) $sink_(15)   set ftp_(15) [new Application/FTP]   $ftp_(15) attach-agent $tcp_(15)   $ns_ at 5.614127 "$ftp_(15) start"      set tcp_(16) [new Agent/TCP]   $tcp_(16) set class_ 2   set sink_(16) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(16)   $ns_ attach-agent $node_(5) $tcp_(16)   $ns_ attach-agent $node_(16) $sink_(16)   $ns_ connect $tcp_(16) $sink_(16)   set ftp_(16) [new Application/FTP]   $ftp_(16) attach-agent $tcp_(16)   $ns_ at 5.709286 "$ftp_(16) start"      set tcp_(17) [new Agent/TCP]   $tcp_(17) set class_ 2   set sink_(17) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(17)   $ns_ attach-agent $node_(5) $tcp_(17)   $ns_ attach-agent $node_(17) $sink_(17)   $ns_ connect $tcp_(17) $sink_(17)   set ftp_(17) [new Application/FTP]   $ftp_(17) attach-agent $tcp_(17)   $ns_ at 5.768340 "$ftp_(17) start"      set tcp_(18) [new Agent/TCP]   $tcp_(18) set class_ 2   set sink_(18) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(18)   $ns_ attach-agent $node_(5) $tcp_(18)   $ns_ attach-agent $node_(18) $sink_(18)   $ns_ connect $tcp_(18) $sink_(18)   set ftp_(18) [new Application/FTP]   $ftp_(18) attach-agent $tcp_(18)   $ns_ at 5.618620 "$ftp_(18) start"      set tcp_(19) [new Agent/TCP]   $tcp_(19) set class_ 2   set sink_(19) [new Agent/TCPSink]# DOWNLINK: From GW $node_(49) to $node_(19)   $ns_ attach-agent $node_(49) $tcp_(19)   $ns_ attach-agent $node_(19) $sink_(19)   $ns_ connect $tcp_(19) $sink_(19)   set ftp_(19) [new Application/FTP]   $ftp_(19) attach-agent $tcp_(19)   $ns_ at 5.772086 "$ftp_(19) start"      set tcp_(20) [new Agent/TCP]   $tcp_(20) set class_ 2   set sink_(20) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(20)   $ns_ attach-agent $node_(31) $tcp_(20)   $ns_ attach-agent $node_(20) $sink_(20)   $ns_ connect $tcp_(20) $sink_(20)   set ftp_(20) [new Application/FTP]   $ftp_(20) attach-agent $tcp_(20)   $ns_ at 5.644451 "$ftp_(20) start"      set tcp_(21) [new Agent/TCP]   $tcp_(21) set class_ 2   set sink_(21) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(21)   $ns_ attach-agent $node_(31) $tcp_(21)   $ns_ attach-agent $node_(21) $sink_(21)   $ns_ connect $tcp_(21) $sink_(21)   set ftp_(21) [new Application/FTP]   $ftp_(21) attach-agent $tcp_(21)   $ns_ at 5.430638 "$ftp_(21) start"      set tcp_(22) [new Agent/TCP]   $tcp_(22) set class_ 2   set sink_(22) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(22)   $ns_ attach-agent $node_(3) $tcp_(22)   $ns_ attach-agent $node_(22) $sink_(22)   $ns_ connect $tcp_(22) $sink_(22)   set ftp_(22) [new Application/FTP]   $ftp_(22) attach-agent $tcp_(22)   $ns_ at 5.616646 "$ftp_(22) start"      set tcp_(23) [new Agent/TCP]   $tcp_(23) set class_ 2   set sink_(23) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(23)   $ns_ attach-agent $node_(3) $tcp_(23)   $ns_ attach-agent $node_(23) $sink_(23)   $ns_ connect $tcp_(23) $sink_(23)   set ftp_(23) [new Application/FTP]   $ftp_(23) attach-agent $tcp_(23)   $ns_ at 5.337654 "$ftp_(23) start"      set tcp_(24) [new Agent/TCP]   $tcp_(24) set class_ 2   set sink_(24) [new Agent/TCPSink]# DOWNLINK: From GW $node_(3) to $node_(24)   $ns_ attach-agent $node_(3) $tcp_(24)   $ns_ attach-agent $node_(24) $sink_(24)   $ns_ connect $tcp_(24) $sink_(24)   set ftp_(24) [new Application/FTP]   $ftp_(24) attach-agent $tcp_(24)   $ns_ at 5.371090 "$ftp_(24) start"      set tcp_(25) [new Agent/TCP]   $tcp_(25) set class_ 2   set sink_(25) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(25)   $ns_ attach-agent $node_(5) $tcp_(25)   $ns_ attach-agent $node_(25) $sink_(25)   $ns_ connect $tcp_(25) $sink_(25)   set ftp_(25) [new Application/FTP]   $ftp_(25) attach-agent $tcp_(25)   $ns_ at 5.328470 "$ftp_(25) start"      set tcp_(26) [new Agent/TCP]   $tcp_(26) set class_ 2   set sink_(26) [new Agent/TCPSink]# DOWNLINK: From GW $node_(5) to $node_(26)   $ns_ attach-agent $node_(5) $tcp_(26)   $ns_ attach-agent $node_(26) $sink_(26)   $ns_ connect $tcp_(26) $sink_(26)   set ftp_(26) [new Application/FTP]   $ftp_(26) attach-agent $tcp_(26)   $ns_ at 5.311897 "$ftp_(26) start"      set tcp_(27) [new Agent/TCP]   $tcp_(27) set class_ 2   set sink_(27) [new Agent/TCPSink]# DOWNLINK: From GW $node_(47) to $node_(27)   $ns_ attach-agent $node_(47) $tcp_(27)   $ns_ attach-agent $node_(27) $sink_(27)   $ns_ connect $tcp_(27) $sink_(27)   set ftp_(27) [new Application/FTP]   $ftp_(27) attach-agent $tcp_(27)   $ns_ at 5.426925 "$ftp_(27) start"      set tcp_(28) [new Agent/TCP]   $tcp_(28) set class_ 2   set sink_(28) [new Agent/TCPSink]# DOWNLINK: From GW $node_(47) to $node_(28)   $ns_ attach-agent $node_(47) $tcp_(28)   $ns_ attach-agent $node_(28) $sink_(28)   $ns_ connect $tcp_(28) $sink_(28)   set ftp_(28) [new Application/FTP]   $ftp_(28) attach-agent $tcp_(28)   $ns_ at 5.054107 "$ftp_(28) start"      set tcp_(29) [new Agent/TCP]   $tcp_(29) set class_ 2   set sink_(29) [new Agent/TCPSink]# DOWNLINK: From GW $node_(49) to $node_(29)   $ns_ attach-agent $node_(49) $tcp_(29)   $ns_ attach-agent $node_(29) $sink_(29)   $ns_ connect $tcp_(29) $sink_(29)   set ftp_(29) [new Application/FTP]   $ftp_(29) attach-agent $tcp_(29)   $ns_ at 5.051462 "$ftp_(29) start"      set tcp_(30) [new Agent/TCP]   $tcp_(30) set class_ 2   set sink_(30) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(30)   $ns_ attach-agent $node_(31) $tcp_(30)   $ns_ attach-agent $node_(30) $sink_(30)   $ns_ connect $tcp_(30) $sink_(30)   set ftp_(30) [new Application/FTP]   $ftp_(30) attach-agent $tcp_(30)   $ns_ at 5.467934 "$ftp_(30) start"      set tcp_(32) [new Agent/TCP]   $tcp_(32) set class_ 2   set sink_(32) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(32)   $ns_ attach-agent $node_(31) $tcp_(32)   $ns_ attach-agent $node_(32) $sink_(32)   $ns_ connect $tcp_(32) $sink_(32)   set ftp_(32) [new Application/FTP]   $ftp_(32) attach-agent $tcp_(32)   $ns_ at 5.028533 "$ftp_(32) start"      set tcp_(33) [new Agent/TCP]   $tcp_(33) set class_ 2   set sink_(33) [new Agent/TCPSink]# DOWNLINK: From GW $node_(31) to $node_(33)   $ns_ attach-agent $node_(31) $tcp_(33)   $ns_ attach-agent $node_(33) $sink_(33)   $ns_ connect $tcp_(33) $sink_(33)   set ftp_(33) [new Application/FTP]   $ftp_(33) attach-agent $tcp_(33)   $ns_ at 5.632250 "$ftp_(33) start"      set tcp_(34) [new Agent/TCP]   $tcp_(34) set class_ 2

⌨️ 快捷键说明

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