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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ns-rtmodule.tcl

?? R. Lo Cigno, P. Larcheri 802.11e closed-loop scheduling Description: ns-2 package for 802.11e clo
?? TCL
字號(hào):
# -*-	Mode:tcl; tcl-indent-level:8; tab-width:8; indent-tabs-mode:t -*-##  Time-stamp: <2000-09-13 18:22:04 haoboy># #  Copyright (c) 2000 by the University of Southern California#  All rights reserved.# #  Permission to use, copy, modify, and distribute this software and its#  documentation in source and binary forms for non-commercial purposes#  and without fee is hereby granted, provided that the above copyright#  notice appear in all copies and that both the copyright notice and#  this permission notice appear in supporting documentation. and that#  any documentation, advertising materials, and other materials related#  to such distribution and use acknowledge that the software was#  developed by the University of Southern California, Information#  Sciences Institute.  The name of the University may not be used to#  endorse or promote products derived from this software without#  specific prior written permission.# #  THE UNIVERSITY OF SOUTHERN CALIFORNIA makes no representations about#  the suitability of this software for any purpose.  THIS SOFTWARE IS#  PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,#  INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.# #  Other copyrights might apply to parts of this software and are so#  noted when applicable.# #  $Header: /nfs/jade/vint/CVSROOT/ns-2/tcl/lib/ns-rtmodule.tcl,v 1.10 2002/05/31 23:11:31 haldar Exp $## OTcl interface definition for the base routing module. They provide # linkage to Node, hence all derived classes should inherit these interfaces# and fill in their specific handling code.RtModule instproc register { node } {	# Attach to node and register routing notifications	$self attach-node $node	$node route-notify $self	$node port-notify $self}RtModule instproc init {} {	$self next	$self instvar classifier_ next_rtm_	set next_rtm_ ""	set classifier_ ""}# Only called when the default classifier of this module is REPLACED.RtModule instproc unregister {} {	$self instvar classifier_	delete $classifier_	[$self node] unreg-route-notify $self	[$self node] unreg-port-notify $self}RtModule instproc route-notify { module } {	$self instvar next_rtm_	if {$next_rtm_ == ""} {		set next_rtm_ $module	} else {		$next_rtm_ route-notify $module	}}RtModule instproc unreg-route-notify { module } {	$self instvar next_rtm_	if {$next_rtm_ != ""} {		if {$next_rtm_ == $module} {			set next_rtm_ [$next_rtm_ set next_rtm_]		} else {			$next_rtm_ unreg-route-notify $module		}	}}RtModule instproc add-route { dst target } {	$self instvar next_rtm_	[$self set classifier_] install $dst $target	if {$next_rtm_ != ""} {		$next_rtm_ add-route $dst $target	}}RtModule instproc delete-route { dst nullagent} {	$self instvar next_rtm_	[$self set classifier_] install $dst $nullagent	if {$next_rtm_ != ""} {		$next_rtm_ delete-route $dst $nullagent	}}RtModule instproc attach { agent port } {	# Send target	$agent target [[$self node] entry]	# Recv target	[[$self node] demux] install $port $agent}RtModule instproc detach { agent nullagent } {	# Empty by default}RtModule instproc reset {} {	# Empty by default}## Base routing module## Use standard naming although this is a pure OTcl class ## In fact, all functionalities of Base are already implemented in RtModule.# We add this class only to provide a uniform interface to the RtModule # creation process, where a single line [new RtModule/$name] is used.## Defined in ~ns/rtmodule.{h,cc}RtModule/Base instproc register { node } {	$self next $node	$self instvar classifier_	set classifier_ [new Classifier/Hash/Dest 32]	$classifier_ set mask_ [AddrParams NodeMask 1]	$classifier_ set shift_ [AddrParams NodeShift 1]	# XXX Base should ALWAYS be the first module to be installed.	$node install-entry $self $classifier_}## Illustrates usage of insert-entry{}. However:# # XXX Ugly hack: We should keep all variables local to this particular# module. However, given all existing multicast code assumes that # switch_ and multiclassifier_ are inside Node, we have to make this # compromise if we do not want to modify all existing code. :(#RtModule/Mcast instproc register { node } {	$self next $node	$self instvar classifier_		# Keep old classifier so we can use RtModule::add-route{}.	$self set classifier_ [$node entry]		#if {[$classifier_ info class] != "Classifier/Virtual"} {	# donot want to add-route if virtual classifier	#$self attach-classifier $classifier_	#}		$node set switch_ [new Classifier/Addr]	# Set up switch to route unicast packet to slot 0 and	# multicast packets to slot 1	[$node set switch_] set mask_ [AddrParams McastMask]	[$node set switch_] set shift_ [AddrParams McastShift]	# Create a classifier for multicast routing	$node set multiclassifier_ [new Classifier/Multicast/Replicator]	[$node set multiclassifier_] set node_ $node		$node set mrtObject_ [new mrtObject $node]	# Install existing classifier at slot 0, new classifier at slot 1	$node insert-entry $self [$node set switch_] 0	[$node set switch_] install 1 [$node set multiclassifier_]}## Hierarchical routing module. #RtModule/Hier instproc register { node } {	$self next $node	$self instvar classifier_	set classifier_ [new Classifier/Hier]	$node install-entry $self $classifier_}RtModule/Hier instproc delete-route args {	eval [$self set classifier_] clear $args}Classifier/Hier instproc init {} {	$self next	for {set n 1} {$n <= [AddrParams hlevel]} {incr n} {		set classifier [new Classifier/Addr]		$classifier set mask_ [AddrParams NodeMask $n]		$classifier set shift_ [AddrParams NodeShift $n]		$self cmd add-classifier $n $classifier	}}Classifier/Hier instproc destroy {} {	for {set n 1} {$n <= [AddrParams hlevel]} {incr n} {		delete [$self cmd classifier $n]	}	$self next}Classifier/Hier instproc clear args {	set l [llength $args]	[$self cmd classifier $l] clear [lindex $args [expr $l-1]] }Classifier/Hier instproc install { dst target } {	set al [AddrParams split-addrstr $dst]	set l [llength $al]	for {set i 1} {$i < $l} {incr i} {		set d [lindex $al [expr $i-1]]		[$self cmd classifier $i] install $d \				[$self cmd classifier [expr $i+1]]	}	[$self cmd classifier $l] install [lindex $al [expr $l-1]] $target}## Manual Routing Nodes:# like normal nodes, but with a hash classifier.#RtModule/Manual instproc register { node } {	$self next $node	$self instvar classifier_		# Note the very small hash size---	# you're supposed to resize it if you want more.	set classifier_ [new Classifier/Hash/Dest 2]	$classifier_ set mask_ [AddrParams NodeMask 1]	$classifier_ set shift_ [AddrParams NodeShift 1]	$node install-entry $self $classifier_}RtModule/Manual instproc add-route {dst_address target} {	$self instvar classifier_ 	set slot [$classifier_ installNext $target]	if {$dst_address == "default"} {		$classifier_ set default_ $slot	} else {		# don't encode the address here, set-hash bypasses that for us		set encoded_dst_address [expr $dst_address << [AddrParams NodeShift 1]]		$classifier_ set-hash auto 0 $encoded_dst_address 0 $slot	}}RtModule/Manual instproc add-route-to-adj-node { args } {	$self instvar classifier_ 	set dst ""	if {[lindex $args 0] == "-default"} {		set dst default		set args [lrange $args 1 end]	}	if {[llength $args] != 1} {		error "ManualRtNode::add-route-to-adj-node [-default] node"	}	set target_node $args	if {$dst == ""} {		set dst [$target_node set address_]	}	set ns [Simulator instance]	set link [$ns link [$self node] $target_node]	set target [$link head]	return [$self add-route $dst $target]}## Source Routing Nodes.#RtModule/Source instproc register { node } {        $self next $node        $self instvar classifier_        # Keep old classifier so we can use RtModule::add-route{}.        $self set classifier_ [$node entry]        # Set up switch to route unicast packet to slot 0 and        # multicast packets to slot 1        #[$node set switch_] set mask_ [AddrParams McastMask]        #[$node set switch_] set shift_ [AddrParams McastShift]        # Create a classifier for multicast routing        $node set src_classifier_ [new Classifier/SR]        $node set src_agent_ [new Agent/SRAgent]        $node set switch_ [$node set src_classifier_]        # $node set multiclassifier_ [new Classifier/Multicast/Replicator]        # [$node set multiclassifier_] set node_ $node#       $node set mrtObject_ [new mrtObject $node]        # Install existing classifier at slot 0, new classifier at slot 1        $node insert-entry $self [$node set switch_] 1        [$node set switch_]  install 0 [$node set src_agent_]        $node attach [$node set src_agent_]#       $self set src_rt 1}## Virtual Classifier Nodes:# like normal nodes, but with a virtual unicast classifier.#RtModule/VC instproc register { node } {	# We do not do route-notify. Only port-notify will suffice.	$self instvar classifier_	$self attach-node $node	$node port-notify $self	set classifier_ [new Classifier/Virtual]	$classifier_ set node_ $node	$classifier_ set mask_ [AddrParams NodeMask 1]	$classifier_ set shift_ [AddrParams NodeShift 1]	$classifier_ nodeaddr [$node node-addr]	$node install-entry $self $classifier_ }RtModule/VC instproc add-route { dst target } {}Classifier/Virtual instproc find dst {	$self instvar node_	if {[$node_ id] == $dst} {		return [$node_ set dmux_]	} else {		return [[[Simulator instance] link $node_ \				[[Simulator instance] set Node_($dst)]] head]	}}Classifier/Virtual instproc install {dst target} {}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产综合人成综合网站| 乱一区二区av| 国产精品久久久久久久久免费相片 | 日本韩国欧美在线| 成人97人人超碰人人99| 国产精品一二三区| 国产自产视频一区二区三区| 久久99精品久久久久久| 免费成人在线观看视频| 久久精品国产免费看久久精品| 日韩电影网1区2区| 老司机精品视频在线| 久久99久国产精品黄毛片色诱| 热久久国产精品| 看片网站欧美日韩| 国产综合色在线视频区| 国产精品亚洲一区二区三区妖精| 狠狠色狠狠色综合| 国产成人av影院| 成人黄色大片在线观看| 97se亚洲国产综合自在线不卡| 972aa.com艺术欧美| 日本韩国视频一区二区| 欧美精品自拍偷拍动漫精品| 911国产精品| 精品久久99ma| 国产视频一区二区在线| 国产精品久久夜| 亚洲综合精品自拍| 免费人成黄页网站在线一区二区| 精品一区二区精品| 成人激情动漫在线观看| 色综合天天狠狠| 51精品秘密在线观看| 精品欧美一区二区在线观看| 国产精品日日摸夜夜摸av| 亚洲日本va午夜在线电影| 亚洲r级在线视频| 久久国产福利国产秒拍| 成人免费视频免费观看| 91久久精品一区二区| 欧美一区二区在线视频| 日本一区二区三区dvd视频在线| 中文字幕综合网| 日韩avvvv在线播放| 国产高清精品久久久久| 在线看国产一区| 欧美不卡一区二区三区| 国产精品久久久久久户外露出| 亚洲一区二区三区在线| 国产剧情一区二区三区| 日本久久一区二区三区| 日韩欧美一级精品久久| 亚洲视频一二三| 麻豆精品在线看| 97se亚洲国产综合自在线| 亚洲同性同志一二三专区| 五月婷婷久久综合| 懂色av一区二区夜夜嗨| 555夜色666亚洲国产免| 国产精品沙发午睡系列990531| 亚洲成a人v欧美综合天堂下载| 国产成人综合在线观看| 欧美视频三区在线播放| 中文一区一区三区高中清不卡| 亚洲成人一区在线| 成人av电影在线| 日韩欧美在线不卡| 亚洲免费观看高清完整版在线| 久久精品国产精品青草| 在线观看视频一区| 中文字幕乱码日本亚洲一区二区| 婷婷一区二区三区| 91老师国产黑色丝袜在线| 亚洲精品在线观看视频| 亚洲一区二区高清| 97精品国产97久久久久久久久久久久| 日韩精品综合一本久道在线视频| 亚洲精品高清视频在线观看| 成人理论电影网| 久久久久亚洲蜜桃| 日本午夜一区二区| 精品污污网站免费看| 亚洲欧洲日韩在线| 丁香啪啪综合成人亚洲小说| 精品免费国产一区二区三区四区| 亚洲第一成年网| 91国产精品成人| 日韩美女久久久| 成人动漫av在线| 国产情人综合久久777777| 精品中文字幕一区二区小辣椒| 欧美午夜电影网| 一区二区三区.www| 91免费视频网址| 亚洲欧美日韩在线播放| 不卡视频一二三四| 国产精品无码永久免费888| 国内精品自线一区二区三区视频| 欧美一级日韩不卡播放免费| 亚洲成a人片综合在线| 欧美亚洲高清一区二区三区不卡| 亚洲女子a中天字幕| 91年精品国产| 一区二区三区四区在线播放| 在线观看视频一区二区| 一区二区三区四区不卡在线| 色狠狠综合天天综合综合| 亚洲人成伊人成综合网小说| 99九九99九九九视频精品| 国产精品初高中害羞小美女文| 不卡电影一区二区三区| 中文字幕日本乱码精品影院| 91最新地址在线播放| 亚洲人123区| 欧美日韩综合一区| 日韩高清中文字幕一区| 91麻豆精品国产91久久久使用方法| 亚洲电影第三页| 宅男噜噜噜66一区二区66| 麻豆一区二区在线| 久久精品视频在线看| 成人福利视频在线看| 自拍偷拍欧美精品| 欧美亚日韩国产aⅴ精品中极品| 一区二区三区精品久久久| 欧美日韩一级黄| 蜜乳av一区二区三区| 久久久精品免费观看| 成人免费毛片aaaaa**| 亚洲特级片在线| 欧美欧美欧美欧美首页| 美女在线视频一区| 欧美国产亚洲另类动漫| 日本精品裸体写真集在线观看| 亚洲国产日韩精品| 日韩欧美一区中文| 成人理论电影网| 亚洲一区二区视频| 欧美成人高清电影在线| 成人av电影在线| 午夜天堂影视香蕉久久| 精品久久国产字幕高潮| 99国产精品久| 免费亚洲电影在线| 日本一区二区成人在线| 欧美视频精品在线| 国产在线视视频有精品| 亚洲女厕所小便bbb| 欧美一区二区国产| jiyouzz国产精品久久| 天天av天天翘天天综合网色鬼国产| 亚洲精品一区二区精华| 色综合 综合色| 久久草av在线| 亚洲靠逼com| 久久众筹精品私拍模特| 一本一道综合狠狠老| 免费成人性网站| 亚洲欧美日韩国产综合| 精品免费视频一区二区| 在线区一区二视频| 国产另类ts人妖一区二区| 亚洲国产欧美日韩另类综合 | 91国偷自产一区二区使用方法| 日本成人在线不卡视频| 国产精品色哟哟| 91精品国产福利| 91色视频在线| 国产精品一色哟哟哟| 亚洲午夜在线视频| 国产欧美日韩卡一| 91精品国产乱| 欧美性受极品xxxx喷水| 国产福利一区二区三区视频 | 国产成人小视频| 性感美女久久精品| 亚洲欧美日韩在线| 国产欧美日韩久久| 精品日韩欧美一区二区| 欧美日韩免费电影| 92国产精品观看| 丁香婷婷综合激情五月色| 蜜桃视频第一区免费观看| 亚洲自拍另类综合| 中文字幕综合网| 国产精品乱码一区二三区小蝌蚪| 欧美哺乳videos| 欧美一区二区久久久| 欧美日韩在线播| 一本色道亚洲精品aⅴ| 丁香激情综合五月| 国产高清久久久久| 精品一区二区三区香蕉蜜桃| 日本三级亚洲精品| 五月综合激情网| 午夜a成v人精品| 日韩中文字幕亚洲一区二区va在线 | 精品一区二区三区免费播放| 日韩成人午夜精品|