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

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

?? ns-2.28-aodvuu-0.9.1-dsruu-pre.patch

?? DSR-UU is a DSR implementation that runs in Linux and in the ns-2 network simulator. DSR-UU imple
?? 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-09 17:07:09.754886621 +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$- *- * 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-09 17:07:18.142645930 +0200@@ -52,13 +52,26 @@ 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+++DSRUU_DIR = dsr-uu+DSRUU_LIB = libdsr-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 +82,19 @@ 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$(shell pwd)/$(DSRUU_DIR) \+	-ldsr-uu #	-L@libdir@ \  CFLAGS	= $(CCOPT) $(DEFINE)@@ -358,13 +376,28 @@ BUILD_NSE = @build_nse@  all: $(NS) $(BUILD_NSE) all-recursive +# AODV-UU: Added phony targets for AODV-UU+.PHONY: aodv-uu-clean dsruu-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++$(DSRUU_DIR)/$(DSRUU_LIB): $(DSRUU_DIR)/*.c $(DSRUU_DIR)/*.h  $(DSRUU_DIR)/Makefile+	$(MAKE) -C $(DSRUU_DIR) $(DSRUU_LIB) NS_DEFS='$(DEFINE) -DNS2' OPTS='$(CCOPT)' NS_INC='$(subst -I.,-I$(shell pwd),$(INCLUDES))'++dsruu-clean:+	$(MAKE) -C $(DSRUU_DIR) 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) $(DSRUU_DIR)/$(DSRUU_LIB) $(OBJ) common/tclAppInit.o Makefile 	$(LINK) $(LDFLAGS) $(LDOUT)$@ \-		common/tclAppInit.o $(OBJ) $(LIB)+		common/tclAppInit.o $(OBJ) $(LIB) $(DSRUU_DIR)/*-ns.o  Makefile: Makefile.in 	@echo "Makefile.in is newer than Makefile."@@ -487,7 +520,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-09 17:07:18.154644156 +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-09 17:07:18.155644008 +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-09 17:07:18.160643268 +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-09 17:07:18.172641494 +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]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
白白色亚洲国产精品| 欧美福利一区二区| 精品欧美乱码久久久久久| 亚洲成人7777| 欧美日韩国产精选| 久久精品噜噜噜成人av农村| 欧美绝品在线观看成人午夜影视| a级精品国产片在线观看| 韩国一区二区三区| 国产精品久久久久一区二区三区| 99国产精品久久| 日本vs亚洲vs韩国一区三区 | 久久综合久久综合亚洲| 国产高清成人在线| 欧美极品xxx| 一本大道av一区二区在线播放| 亚洲一区二区三区免费视频| 91精品久久久久久久久99蜜臂| 国产自产高清不卡| 国产成人精品亚洲日本在线桃色 | 亚洲v中文字幕| 亚洲高清三级视频| 中文字幕人成不卡一区| 91精品国产综合久久久久久久久久| 欧洲一区在线电影| 国产suv精品一区二区三区| 亚洲一区欧美一区| 日本aⅴ免费视频一区二区三区| 美腿丝袜亚洲三区| 手机精品视频在线观看| 亚洲欧美另类小说| 欧美v国产在线一区二区三区| 久久午夜电影网| 亚洲少妇中出一区| 久久久久久99久久久精品网站| 欧美午夜精品一区二区三区| 成人ar影院免费观看视频| 国产精品一区专区| 国产乱人伦精品一区二区在线观看| 国产69精品一区二区亚洲孕妇| 在线一区二区三区| 一本大道久久a久久精品综合| 欧美日韩亚洲丝袜制服| 欧美日韩一区二区三区免费看 | 久久久精品综合| 中文字幕一区三区| 麻豆精品在线播放| av影院午夜一区| 日韩精品专区在线影院重磅| 欧美色倩网站大全免费| 久久众筹精品私拍模特| 亚洲综合精品自拍| 国产精品99久| 欧美成人一区二区三区| 午夜精品一区在线观看| 丁香婷婷综合激情五月色| 色天天综合色天天久久| 国产无人区一区二区三区| 精品少妇一区二区三区在线播放| 亚洲同性同志一二三专区| 国产一区高清在线| 成人免费高清在线观看| 色天天综合色天天久久| 国产精品嫩草99a| 一区二区三区日韩| 日韩精品视频网站| 在线观看av一区二区| 亚洲欧美怡红院| 国产麻豆精品视频| 91精品婷婷国产综合久久竹菊| 精品视频123区在线观看| 亚洲欧美一区二区三区国产精品| 美女久久久精品| 欧美图区在线视频| 亚洲伦理在线免费看| 国产精品国产三级国产普通话99| 日韩福利视频导航| 天堂av在线一区| 色乱码一区二区三区88| 国产欧美一区二区三区鸳鸯浴 | 国产乱妇无码大片在线观看| 欧美日韩一级二级| 国产日韩亚洲欧美综合| 国产一区二区三区久久久| 欧美一三区三区四区免费在线看 | 亚洲精品日韩综合观看成人91| 精品一区二区三区在线观看国产 | 欧美日本在线播放| 亚洲美女少妇撒尿| 成人不卡免费av| 欧美—级在线免费片| 国产一区二区视频在线| 日韩免费一区二区三区在线播放| 午夜精品一区二区三区电影天堂| aa级大片欧美| 中文字幕亚洲不卡| 99久久99久久久精品齐齐| 中文字幕一区二区三区不卡在线| 国产成人在线免费| 精品国产精品一区二区夜夜嗨| 精品欧美一区二区久久| 美腿丝袜在线亚洲一区 | 日韩一区二区在线看| 国产片一区二区三区| 国产精品一区二区久久精品爱涩| 精品久久国产老人久久综合| 久久av老司机精品网站导航| 精品蜜桃在线看| 精品午夜一区二区三区在线观看| 日韩欧美不卡一区| 国产福利一区二区三区视频| 国产精品私人自拍| 一本色道综合亚洲| 午夜电影一区二区| 久久青草国产手机看片福利盒子| 国产一区二区三区四区在线观看 | 久久精品国产99| 国产欧美1区2区3区| 一本一本大道香蕉久在线精品| 亚洲综合色在线| 欧美xxx久久| av亚洲精华国产精华精| 亚洲国产毛片aaaaa无费看 | 亚洲图片欧美视频| 欧美一级高清片在线观看| 国产精品69毛片高清亚洲| 亚洲欧美综合网| 欧美男生操女生| 国产一区二区在线电影| 亚洲伦在线观看| 日韩欧美一区二区三区在线| 美女一区二区视频| 亚洲午夜精品一区二区三区他趣| 777久久久精品| 国产成人三级在线观看| 一区二区三区小说| 精品国产91九色蝌蚪| 91国偷自产一区二区开放时间| 日韩中文欧美在线| 国产精品视频线看| 久久人人97超碰com| 欧美日韩精品一区二区三区 | 国产一区二区不卡| 亚洲最色的网站| 国产亚洲精久久久久久| 欧美女孩性生活视频| 国产91精品一区二区麻豆亚洲| 人人爽香蕉精品| 亚洲一区二区三区视频在线 | 粗大黑人巨茎大战欧美成人| 亚洲一二三四在线| 国产欧美精品国产国产专区| 日韩一区二区高清| 欧美在线观看一区二区| 国产美女视频一区| 国产一区欧美二区| 美女免费视频一区二区| 亚洲午夜电影网| 亚洲欧美日韩国产综合| 国产欧美日韩卡一| 久久亚洲精品国产精品紫薇| 欧美精品视频www在线观看| 欧美日韩亚洲高清一区二区| 色呦呦一区二区三区| 成人免费毛片片v| 国产寡妇亲子伦一区二区| 久久精品国产**网站演员| 天天综合网天天综合色| 亚洲va欧美va天堂v国产综合| 亚洲欧美成人一区二区三区| 亚洲免费毛片网站| 亚洲视频电影在线| 亚洲综合视频在线观看| 亚洲最大色网站| 午夜一区二区三区在线观看| 亚洲国产成人精品视频| 亚洲精品欧美在线| 久久精品国产秦先生| 国内外成人在线| 国产成人夜色高潮福利影视| 国产一区二区三区四区在线观看| 国产精品影视在线观看| 国产成人在线视频网站| av在线播放成人| 欧美亚洲高清一区二区三区不卡| 99国产精品久久| 欧美日韩国产一级片| 欧美高清视频在线高清观看mv色露露十八 | 亚洲女女做受ⅹxx高潮| 亚洲乱码国产乱码精品精98午夜 | 一区二区三区中文免费| 亚洲国产精品视频| 精品亚洲欧美一区| 亚洲少妇中出一区| 日日夜夜一区二区| 日韩精品亚洲一区| 国产不卡一区视频| 91官网在线观看| 欧美成人精精品一区二区频| 国产精品免费久久|