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

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

?? ns-2.28-aodv-uu-0.9.1.patch

?? aodv-0.9.5 fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
?? PATCH
?? 第 1 頁 / 共 2 頁
字號:
diff -uprN ns-2.28.orig/common/packet.h ns-2.28/common/packet.h--- ns-2.28.orig/common/packet.h	2005-01-19 19:23:18.000000000 +0100+++ ns-2.28/common/packet.h	2005-05-20 15:44:18.059988224 +0200@@ -163,6 +163,11 @@ enum packet_t { 	// XCP packet 	PT_XCP, +#ifdef AODV_UU+        // AODV packets in AODV-UU+        PT_AODVUU,+#endif /* AODV_UU */+ 	// insert new packet types here 	PT_NTYPE // This MUST be the LAST one };@@ -252,6 +257,10 @@ public: 		 		// smac 		name_[PT_SMAC]="smac";+#ifdef AODV_UU+                // AODV packets in AODV-UU+                name_[PT_AODVUU] = "AODVUU";+#endif /* AODV_UU */  		name_[PT_XCP]="xcp"; diff -uprN ns-2.28.orig/mac/wireless-phy.h~ ns-2.28/mac/wireless-phy.h~--- ns-2.28.orig/mac/wireless-phy.h~	2005-01-26 22:58:52.000000000 +0100+++ ns-2.28/mac/wireless-phy.h~	1970-01-01 01:00:00.000000000 +0100@@ -1,135 +0,0 @@-/* -*-	Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*-  *- *- * Copyright (c) 1997 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 Computer Systems- *	Engineering Group at Lawrence Berkeley Laboratory.- * 4. Neither the name of the University nor of the Laboratory 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: /nfs/jade/vint/CVSROOT/ns-2/mac/wireless-phy.h,v 1.12 2003/11/19 00:41:44 haldar Exp $- *- * Ported from CMU/Monarch's code, nov'98 -Padma Haldar.- *- * wireless-phy.h- * -- a SharedMedia network interface- */--#ifndef ns_WirelessPhy_h-#define ns_WirelessPhy_h--#include "propagation.h"-#include "modulation.h"-#include "omni-antenna.h"-#include "phy.h"-#include "mobilenode.h"-#include "timer-handler.h"--class Phy;-class Propagation;-class WirelessPhy;--// For idle energy consumption -- Chalermek--class Idle_Timer : public TimerHandler {- public:-	Idle_Timer(WirelessPhy *a) : TimerHandler() { a_ = a; }- protected:-	virtual void expire(Event *e);-	WirelessPhy *a_;-};--class WirelessPhy : public Phy {-public:-	WirelessPhy();-	-	void sendDown(Packet *p);-	int sendUp(Packet *p);-	-	inline double getL() const {return L_;}-	inline double getLambda() const {return lambda_;}-	inline Node* node(void) const { return node_; }-	inline double getPtconsume() { return Pt_consume_; }--	double getDist(double Pr, double Pt, double Gt, double Gr, double hr,-		       double ht, double L, double lambda);-  -	virtual int command(int argc, const char*const* argv);-	virtual void dump(void) const;-	-	//void setnode (MobileNode *node) { node_ = node; }-	void node_on();-	void node_off();	--        /* -NEW- */-        inline double getAntennaZ() { return ant_->getZ(); }-        inline double getPt() { return Pt_; }-        inline double getRXThresh() { return RXThresh_; }-        inline double getCSThresh() { return CSThresh_; }-        inline double getFreq() { return freq_; }-        /* End -NEW- */--protected:-	double Pt_;		// transmitted signal power (W)-	double Pt_consume_;	// power consumption for transmission (W)-	double Pr_consume_;	// power consumption for reception (W)-	double P_idle_;         // idle power consumption (W)-	double last_send_time_;	// the last time the node sends somthing.-	double channel_idle_time_;	// channel idle time.-	double update_energy_time_;	// the last time we update energy.--	double freq_;           // frequency-	double lambda_;		// wavelength (m)-	double L_;		// system loss factor-  -	double RXThresh_;	// receive power threshold (W)-	double CSThresh_;	// carrier sense threshold (W)-	double CPThresh_;	// capture threshold (db)-  -	Antenna *ant_;-	Propagation *propagation_;	// Propagation Model-	Modulation *modulation_;	// Modulation Schem--	// Why phy has a node_ and this guy has it all over again??-//  	MobileNode* node_;         	// Mobile Node to which interface is attached .--	Idle_Timer idle_timer_;-	-	enum ChannelStatus { IDLE, RECV, SEND };-	int status_;-private:-	inline int initialized() {-		return (node_ && uptarget_ && downtarget_ && propagation_);-	}-	void UpdateIdleEnergy();-	// Convenience method-	EnergyModel* em() { return node()->energy_model(); }--	friend class Idle_Timer;-};--#endif /* !ns_WirelessPhy_h */diff -uprN ns-2.28.orig/Makefile.in ns-2.28/Makefile.in--- ns-2.28.orig/Makefile.in	2005-01-25 23:27:16.000000000 +0100+++ ns-2.28/Makefile.in	2005-05-20 15:45:40.156824444 +0200@@ -52,13 +52,22 @@ PERL	= @PERL@ # for diffusion #DIFF_INCLUDES = "./diffusion3/main ./diffusion3/lib ./diffusion3/nr ./diffusion3/ns" +# AODV-UU: Name of subdirectory with AODV-UU files,+# usually a symlink to the AODV-UU sources. If you change this,+# ~ns/trace/cmu-trace.cc must be updated as well.+AODV_UU_DIR = aodv-uu+AODV_UU_LIB = libaodv-uu.a+ CCOPT	= @V_CCOPT@ STATIC	= @V_STATIC@ LDFLAGS	= $(STATIC) LDOUT	= -o $(BLANK) -DEFINE	= -DTCP_DELAY_BIND_ALL -DNO_TK @V_DEFINE@ @V_DEFINES@ @DEFS@ -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_SINGLE_ADDRESS_SPACE -Drng_test+# AODV-UU: Added "-DAODV_UU" and "-DNS_PORT" to enable AODV-UU+DEFINE	= -DTCP_DELAY_BIND_ALL -DNO_TK @V_DEFINE@ @V_DEFINES@ @DEFS@ -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -DAODV_UU -DNS_PORT +# AODV-UU: Added -I for AODV-UU directory, to allow custom-generated+# endian.h to be found on systems which lack it. INCLUDES = \ 	-I. @V_INCLUDE_X11@ \ 	@V_INCLUDES@ \@@ -69,14 +78,17 @@ INCLUDES = \ 	-I./diffusion3/lib/nr -I./diffusion3/ns \ 	-I./diffusion3/filter_core -I./asim/ -I./qs \ 	-I./diffserv \-	-I./wpan+	-I./wpan \+	-I./$(AODV_UU_DIR) \   LIB	= \ 	@V_LIBS@ \ 	@V_LIB_X11@ \ 	@V_LIB@ \-	-lm @LIBS@+	-lm @LIBS@ \+	-L$(AODV_UU_DIR) \+	-laodv-uu \ #	-L@libdir@ \  CFLAGS	= $(CCOPT) $(DEFINE)@@ -358,11 +370,20 @@ BUILD_NSE = @build_nse@  all: $(NS) $(BUILD_NSE) all-recursive +# AODV-UU: Added phony targets for AODV-UU+.PHONY: aodv-uu-clean++$(AODV_UU_DIR)/$(AODV_UU_LIB):+	cd $(AODV_UU_DIR) && $(MAKE) $(AODV_UU_LIB) NS_DEFS='$(DEFINE)' OPTS='$(CCOPT)' NS_INC='$(subst -I.,-I$(shell pwd),$(INCLUDES))'++aodv-uu-clean:+	cd $(AODV_UU_DIR) && $(MAKE) clean  all-recursive: 	for i in $(SUBDIRS); do ( cd $$i; $(MAKE) all; ) done -$(NS): $(OBJ) common/tclAppInit.o Makefile+# AODV-UU: Added "aodv-uu" as first dependency+$(NS):  $(AODV_UU_DIR)/$(AODV_UU_LIB) $(OBJ) common/tclAppInit.o Makefile 	$(LINK) $(LDFLAGS) $(LDOUT)$@ \ 		common/tclAppInit.o $(OBJ) $(LIB) @@ -487,7 +508,7 @@ install-man: force install-recursive: force 	for i in $(SUBDIRS); do ( cd $$i; $(MAKE) install; ) done -clean:+clean: aodv-uu-clean dsruu-clean 	$(RM) $(CLEANFILES)  AUTOCONF_GEN = tcl/lib/ns-autoconf.tcldiff -uprN ns-2.28.orig/queue/priqueue.cc ns-2.28/queue/priqueue.cc--- ns-2.28.orig/queue/priqueue.cc	2005-01-25 23:38:47.000000000 +0100+++ ns-2.28/queue/priqueue.cc	2005-05-20 15:44:39.037880685 +0200@@ -92,7 +92,11 @@ PriQueue::recv(Packet *p, Handler *h)                 case PT_AODV:                         recvHighPriority(p, h);                         break;-+#ifdef AODV_UU+                case PT_AODVUU:+                        recvHighPriority(p, h);+                        break;+#endif /* AODV_UU */                 default:                         Queue::recv(p, h);                 }diff -uprN ns-2.28.orig/tcl/lib/ns-agent.tcl ns-2.28/tcl/lib/ns-agent.tcl--- ns-2.28.orig/tcl/lib/ns-agent.tcl	2005-01-19 19:23:37.000000000 +0100+++ ns-2.28/tcl/lib/ns-agent.tcl	2005-05-20 15:44:39.049878908 +0200@@ -192,3 +192,10 @@ Agent/AODV instproc init args { Agent/AODV set sport_   0 Agent/AODV set dport_   0 +# AODV-UU routing agent+Agent/AODVUU instproc init args {+    $self next $args+}++Agent/AODVUU set sport_   0+Agent/AODVUU set dport_   0diff -uprN ns-2.28.orig/tcl/lib/ns-default.tcl ns-2.28/tcl/lib/ns-default.tcl--- ns-2.28.orig/tcl/lib/ns-default.tcl	2005-01-19 19:23:37.000000000 +0100+++ ns-2.28/tcl/lib/ns-default.tcl	2005-05-20 15:44:39.050878760 +0200@@ -1343,3 +1343,19 @@ Queue set util_records_ 0 # Quick Start definitions end here  Delayer set debug_ false++# AODV-UU routing agent+Agent/AODVUU set unidir_hack_ 0+Agent/AODVUU set rreq_gratuitous_ 0+Agent/AODVUU set expanding_ring_search_ 1+Agent/AODVUU set local_repair_ 0+Agent/AODVUU set receive_n_hellos_ 0+Agent/AODVUU set hello_jittering_ 0+Agent/AODVUU set wait_on_reboot_ 0+Agent/AODVUU set debug_ 0+Agent/AODVUU set rt_log_interval_ 0+Agent/AODVUU set log_to_file_ 0+Agent/AODVUU set optimized_hellos_ 0+Agent/AODVUU set ratelimit_ 1+Agent/AODVUU set llfeedback_ 1+Agent/AODVUU set internet_gw_mode_ 0diff -uprN ns-2.28.orig/tcl/lib/ns-lib.tcl ns-2.28/tcl/lib/ns-lib.tcl--- ns-2.28.orig/tcl/lib/ns-lib.tcl	2005-01-24 21:03:43.000000000 +0100+++ ns-2.28/tcl/lib/ns-lib.tcl	2005-05-20 15:44:39.064876686 +0200@@ -597,9 +597,16 @@ Simulator instproc create-wireless-node  	    DSR { 		    $self at 0.0 "$node start-dsr" 	    }+	    DSRUU {+		    $self at 0.0 "$node start-dsr"+	    } 	    AODV { 		    set ragent [$self create-aodv-agent $node] 	    }+	    # AODV-UU routing agent+	    AODVUU {+		    $self at 0.0 "$node start-aodv"+	    } 	    TORA { 		    Simulator set IMEPFlag_ ON 		    set ragent [$self create-tora-agent $node]@@ -652,7 +659,7 @@ Simulator instproc create-wireless-node  	    $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ \ 			$inerrProc_ $outerrProc_ $FECProc_ 	# Attach agent-	if {$routingAgent_ != "DSR"} {+	if {$routingAgent_ != "DSR" && $routingAgent_ != "DSRUU" && $routingAgent_ != "AODVUU"} { 		$node attach $ragent [Node set rtagent_port_] 	} 	if {$routingAgent_ == "DIFFUSION/RATE" ||@@ -672,7 +679,7 @@ Simulator instproc create-wireless-node  	# Bind routing agent and mip agent if existing basestation  	# address setting         if { [info exist wiredRouting_] && $wiredRouting_ == "ON" } {-		if { $routingAgent_ != "DSR" } {+		if { $routingAgent_ != "DSR" && $routingAgent_ != "DSRUU" && $routingAgent_ != "AODVUU"} { 			$node mip-call $ragent 		} 	}@@ -721,10 +728,14 @@ Simulator instproc create-wireless-node  Simulator instproc create-node-instance args { 	$self instvar routingAgent_ 	# DSR is a special case-	if {$routingAgent_ == "DSR"} {+	if {$routingAgent_ == "DSR" || $routingAgent_ == "DSRUU"} { 		set nodeclass [$self set-dsr-nodetype] 	} else {-		set nodeclass Node/MobileNode+		if { $routingAgent_ == "AODVUU"} {+			set nodeclass Node/MobileNode/AODVNode+		} else {+			set nodeclass Node/MobileNode+		}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合在线电影| 久久免费电影网| 99久久免费精品| 国产乱国产乱300精品| 免费在线看一区| 蜜臀av一区二区在线免费观看| 亚洲动漫第一页| 天天综合色天天综合色h| 亚洲电影你懂得| 五月天视频一区| 免费精品99久久国产综合精品| 天堂成人免费av电影一区| 麻豆精品一区二区| 国产综合久久久久久久久久久久| 精品在线免费视频| 不卡影院免费观看| 91久久精品网| 欧美一区二区三区在线| 精品国产不卡一区二区三区| 国产欧美一区视频| 亚洲品质自拍视频| 日本美女一区二区三区| 国产美女视频91| 91在线视频免费91| 欧美人妇做爰xxxⅹ性高电影 | 亚洲成av人片在线| 亚洲一区二区三区四区在线免费观看 | 色网站国产精品| 欧美久久久久久久久| 欧美v亚洲v综合ⅴ国产v| 中文字幕一区av| 五月婷婷综合激情| 成人性生交大片免费看视频在线 | 亚洲成人av电影在线| 日本成人在线看| 成人免费av在线| 欧美日本精品一区二区三区| 日韩一区二区三区在线| 中文字幕二三区不卡| 午夜伊人狠狠久久| 国产91精品在线观看| 欧美狂野另类xxxxoooo| 中文字幕+乱码+中文字幕一区| 亚洲一二三级电影| aaa国产一区| 26uuu国产在线精品一区二区| 亚洲综合色区另类av| 国产精品乡下勾搭老头1| 欧美日韩国产综合视频在线观看 | 99这里都是精品| 日韩一区二区精品葵司在线 | 日韩一区二区免费视频| 亚洲乱码国产乱码精品精可以看 | 亚洲国产aⅴ天堂久久| 成人午夜av影视| 精品国产污污免费网站入口| 午夜精品一区二区三区免费视频| 成人激情免费视频| 国产丝袜欧美中文另类| 青青草一区二区三区| 在线视频国产一区| 亚洲男人天堂一区| k8久久久一区二区三区| 欧美激情综合五月色丁香小说| 久久精品国产免费| 56国语精品自产拍在线观看| 亚洲国产精品视频| 欧美午夜片在线观看| 亚洲精品中文在线观看| 不卡一区在线观看| 亚洲欧洲www| 色哟哟一区二区在线观看| 中文字幕日韩一区| 色综合久久88色综合天天6| 亚洲人成网站影音先锋播放| 成人综合婷婷国产精品久久| 欧美国产丝袜视频| 成人黄色小视频在线观看| 国产精品拍天天在线| 99久久久无码国产精品| 亚洲精品日韩综合观看成人91| 91年精品国产| 亚洲一区视频在线| 制服丝袜中文字幕一区| 蜜臀91精品一区二区三区| 精品黑人一区二区三区久久| 国产一区二区三区视频在线播放| 久久久久高清精品| 99re视频精品| 亚洲综合一区二区精品导航| 欧美丰满少妇xxxxx高潮对白| 日韩国产一二三区| 337p粉嫩大胆色噜噜噜噜亚洲| 国产乱人伦偷精品视频免下载| 中文字幕国产一区| 欧美日韩一区二区在线观看 | www.亚洲色图.com| 欧美国产精品专区| 欧美大胆人体bbbb| 欧美人与性动xxxx| 久久久午夜电影| 欧美精品第1页| 欧洲亚洲国产日韩| 色婷婷综合久久久中文字幕| 成人免费黄色在线| 成人中文字幕电影| 国产91精品露脸国语对白| 国产一区三区三区| 韩日精品视频一区| 国内精品国产成人国产三级粉色| 青青草原综合久久大伊人精品 | 国产精品久久福利| 国产精品久久毛片av大全日韩| 精品999在线播放| 久久这里都是精品| 国产午夜亚洲精品午夜鲁丝片| 久久综合色婷婷| 久久久久国产一区二区三区四区| 久久精品无码一区二区三区| 久久影院视频免费| 中文一区一区三区高中清不卡| 国产夜色精品一区二区av| 久久久久久久性| 国产精品第四页| 亚洲色图在线看| 亚洲一区二区欧美| 亚洲成人777| 久久99国产精品尤物| 国产精品羞羞答答xxdd| 99riav久久精品riav| 欧美日韩视频在线观看一区二区三区| 欧美三片在线视频观看| 欧美一区二区精美| 国产亚洲人成网站| 亚洲人妖av一区二区| 天天av天天翘天天综合网| 秋霞电影网一区二区| 国产成人丝袜美腿| 色婷婷亚洲一区二区三区| 欧美区在线观看| 久久精品综合网| 亚洲综合免费观看高清完整版在线| 天天综合色天天综合| 国产精品1024| 欧美性xxxxxx少妇| 久久久一区二区三区捆绑**| 亚洲同性gay激情无套| 奇米影视一区二区三区小说| 成人在线视频一区| 欧美精品国产精品| 国产精品网站在线播放| 日韩精品国产欧美| eeuss鲁一区二区三区| 777久久久精品| 国产精品短视频| 久久机这里只有精品| 99免费精品视频| 欧美成人激情免费网| 综合久久国产九一剧情麻豆| 日本不卡不码高清免费观看| jlzzjlzz亚洲女人18| 精品久久久久久久久久久久久久久 | 久久精品亚洲一区二区三区浴池| 亚洲精品成人天堂一二三| 国内精品写真在线观看| 欧美视频三区在线播放| 国产精品人妖ts系列视频| 日本欧洲一区二区| 94-欧美-setu| 欧美精品一区二区三区视频| 亚洲一区中文在线| 成人精品国产一区二区4080| 日韩欧美一二三区| 国产精品伦理在线| 国产中文字幕精品| 欧美一区二区三区日韩视频| 亚洲色图色小说| 成人一区二区三区| 久久精品人人做| 久久国产精品第一页| 777a∨成人精品桃花网| 亚洲愉拍自拍另类高清精品| av激情成人网| 国产精品福利一区二区三区| 国产成人av网站| 久久精品一区二区| 国产美女一区二区| 欧美一级二级在线观看| 天天操天天干天天综合网| 欧美一a一片一级一片| 亚洲精品伦理在线| 色噜噜狠狠一区二区三区果冻| 国产精品久久久久久久久免费相片 | 精品一区二区三区影院在线午夜| 91精品国产综合久久福利| 午夜精品福利在线| 91精品国产综合久久小美女| 日韩成人一区二区| 日韩精品一区二区三区四区视频| 青娱乐精品在线视频|