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

📄 tags

📁 CBRP协议(移动adhoc中基于分簇的路由协议)ns2下的源码
💻
📖 第 1 页 / 共 2 页
字号:
handlePacketReceipt	dsragent.cc	/^DSRAgent::handlePacketReceipt(SRPacket& p)$/;"	f	class:DSRAgenthandlePktWithoutSR	dsragent.cc	/^DSRAgent::handlePktWithoutSR(SRPacket& p, bool retry)$/;"	f	class:DSRAgenthandleRouteRequest	dsragent.cc	/^DSRAgent::handleRouteRequest(SRPacket &p)$/;"	f	class:DSRAgenthdr_sr	hdr_sr.h	/^struct hdr_sr {$/;"	sifq	dsragent.h	/^  PriQueue *ifq;		\/\/ output interface queue$/;"	m	class:DSRAgentignoreRouteRequestp	dsragent.cc	/^DSRAgent::ignoreRouteRequestp(SRPacket &p)$/;"	f	class:DSRAgentindex	path.h	/^  inline int index() const {return cur_index;}$/;"	f	class:Pathinit	hdr_sr.h	/^  inline void init() {$/;"	f	struct:hdr_srinsert	requesttable.cc	/^RequestTable::insert(const ID& net_id, const ID& MAC_id, int req_num)$/;"	f	class:RequestTableinsert	requesttable.cc	/^RequestTable::insert(const ID& net_id, int req_num)$/;"	f	class:RequestTableinterval	cache_stats.h	/^        double interval;$/;"	m	class:MobiHandlerintr	cache_stats.h	/^        Event intr;$/;"	m	class:MobiHandlerlast_arp	requesttable.h	/^  Time last_arp;$/;"	m	struct:Entrylast_rt_req	requesttable.h	/^  Time last_rt_req;$/;"	m	struct:Entrylast_type	requesttable.h	/^  LastType last_type;$/;"	m	struct:Entrylen	path.h	/^  int len;$/;"	m	class:Pathlength	path.h	/^  inline int length() const {return len;}$/;"	f	class:Pathlink_add_bad_count	cache_stats.h	/^	int	link_add_bad_count;$/;"	m	class:cache_statslink_add_count	cache_stats.h	/^	int	link_add_count;$/;"	m	class:cache_statslink_add_tested	cache_stats.h	/^        int     link_add_tested;$/;"	m	class:cache_statslink_down	hdr_sr.h	/^struct link_down {$/;"	slink_find_bad_count	cache_stats.h	/^	int	link_find_bad_count;$/;"	m	class:cache_statslink_find_count	cache_stats.h	/^	int	link_find_count;$/;"	m	class:cache_statslink_good_time	cache_stats.h	/^	double     link_good_time;$/;"	m	class:cache_statslink_notice_bad_count	cache_stats.h	/^	int	link_notice_bad_count;$/;"	m	class:cache_statslink_notice_count	cache_stats.h	/^	int	link_notice_count;$/;"	m	class:cache_statslink_notice_tested	cache_stats.h	/^        int     link_notice_tested;$/;"	m	class:cache_statslink_type	path.h	/^  Link_Type link_type;$/;"	m	struct:IDlinkerr_is_wrong	dsragent.cc	/^static int linkerr_is_wrong = 0;$/;"	v	file:ll	dsragent.h	/^  NsObject *ll;		        \/\/ our link layer output $/;"	m	class:DSRAgentlog_stat	path.h	/^  Log_Status log_stat;$/;"	m	struct:IDlogtarget	dsragent.h	/^  Trace *logtarget;$/;"	m	class:DSRAgentlogtarget	routecache.h	/^  Trace *logtarget;$/;"	m	class:RouteCachemakeRouteCache	mobicache.cc	/^makeRouteCache()$/;"	fmax_err_hold	dsragent.cc	/^Time max_err_hold = 1.0;        \/\/ (sec) $/;"	vmax_propagation	hdr_sr.h	/^  inline int& max_propagation() {return max_propagation_;}$/;"	f	struct:hdr_srmax_propagation_	hdr_sr.h	/^  int max_propagation_;		\/\/ how many times can RTreq be forwarded?$/;"	m	struct:hdr_srmember	path.cc	/^Path::member(const ID& id) const$/;"	f	class:Pathmember	path.cc	/^Path::member(const ID& id, const ID& MAC_id) const$/;"	f	class:Pathmh	routecache.h	/^  MobiHandler mh;$/;"	m	class:RouteCachename	mobicache.cc	/^  char *name;$/;"	m	class:Cachenet_id	dsragent.h	/^  ID net_id, MAC_id;		\/\/ our IP addr and MAC addr$/;"	m	class:DSRAgentnet_id	requesttable.h	/^  ID net_id;$/;"	m	struct:Entrynet_id	routecache.h	/^  ID MAC_id, net_id;$/;"	m	class:RouteCachenext	path.h	/^  inline ID& next() {assert(cur_index < len); return path[cur_index++];}$/;"	f	class:PathnoticeDeadLink	mobicache.cc	/^Cache::noticeDeadLink(const ID&from, const ID& to)$/;"	f	class:CachenoticeDeadLink	mobicache.cc	/^MobiCache::noticeDeadLink(const ID&from, const ID& to, Time)$/;"	f	class:MobiCachenoticeRouteUsed	mobicache.cc	/^MobiCache::noticeRouteUsed(const Path& p, Time t, const ID& who_from)$/;"	f	class:MobiCachenum_addrs	hdr_sr.h	/^  inline int& num_addrs() {return num_addrs_;}$/;"	f	struct:hdr_srnum_addrs_	hdr_sr.h	/^  int num_addrs_;$/;"	m	struct:hdr_srnum_heldoff_rt_replies	dsragent.h	/^  int num_heldoff_rt_replies;$/;"	m	class:DSRAgentnum_route_errors	hdr_sr.h	/^  inline int& num_route_errors() {return num_route_errors_;}$/;"	f	struct:hdr_srnum_route_errors_	hdr_sr.h	/^  int num_route_errors_;$/;"	m	struct:hdr_sroff_cmn_	dsragent.cc	/^  int off_cmn_;$/;"	m	struct:filterfailuredataoff_ip_	dsragent.h	/^  int off_ip_;$/;"	m	class:DSRAgentoff_ll_	dsragent.h	/^  int off_ll_;$/;"	m	class:DSRAgentoff_mac_	dsragent.h	/^  int off_mac_;$/;"	m	class:DSRAgentoff_sr_	dsragent.h	/^  int off_sr_;$/;"	m	class:DSRAgentoffset	hdr_sr.h	/^  inline int& offset() { return offset_; }$/;"	f	struct:hdr_sroffset_	hdr_sr.cc	/^int hdr_sr::offset_;$/;"	m	class:hdr_sroffset_	hdr_sr.h	/^  static int offset_;		\/* offset for this header *\/$/;"	m	struct:hdr_sroperator !=	path.h	/^  inline bool operator != (const ID& id2) const {return !operator==(id2);}$/;"	f	struct:IDoperator =	path.cc	/^Path::operator=(const Path &rhs)$/;"	f	class:Pathoperator ==	path.cc	/^Path::operator==(const Path &rhs)$/;"	f	class:Pathoperator ==	path.h	/^  inline bool operator == (const ID& id2) const {$/;"	f	struct:IDoperator []	path.h	/^  inline ID& operator[] (int n) const {  $/;"	f	class:Pathour_length	dsragent.h	/^  int our_length;$/;"	m	struct:RtRepHoldoffowner	path.h	/^  inline ID &owner() {return path_owner;}$/;"	f	class:Pathp	dsragent.h	/^  Path p;$/;"	m	struct:GratReplyHoldDownp	dsragent.h	/^  SRPacket p;$/;"	m	struct:SendBufEntrypath	path.h	/^  ID* path;$/;"	m	class:Pathpath_owner	path.h	/^  ID path_owner;$/;"	m	class:Pathperiodic_checkCache	mobicache.cc	/^MobiCache::periodic_checkCache()$/;"	f	class:MobiCachepickVictim	mobicache.cc	/^Cache::pickVictim(int exclude)$/;"	f	class:Cachepkt	srpacket.h	/^  Packet *pkt;			\/* the inner NS packet *\/$/;"	m	struct:SRPacketpre_addRoute	routecache.cc	/^RouteCache::pre_addRoute(const Path& route, Path& rt,$/;"	f	class:RouteCachepre_noticeRouteUsed	routecache.cc	/^RouteCache::pre_noticeRouteUsed(const Path& p, Path& stub,$/;"	f	class:RouteCacheprimary_cache	mobicache.cc	/^  Cache *primary_cache;   \/* routes that we are using, or that we have reason$/;"	m	class:MobiCacheprocessBrokenRouteError	dsragent.cc	/^DSRAgent::processBrokenRouteError(SRPacket& p)$/;"	f	class:DSRAgentptr	requesttable.h	/^  int ptr;$/;"	m	class:RequestTablerecv	dsragent.cc	/^DSRAgent::recv(Packet* packet, Handler*)$/;"	f	class:DSRAgentremoveSection	path.cc	/^Path::removeSection(int from, int to)$/;"	f	class:PathreplyFromRouteCache	dsragent.cc	/^DSRAgent::replyFromRouteCache(SRPacket &p)$/;"	f	class:DSRAgentreply_addrs	hdr_sr.h	/^  inline struct sr_addr* reply_addrs() {return reply_addrs_;}$/;"	f	struct:hdr_srreply_addrs_	hdr_sr.h	/^  struct sr_addr reply_addrs_[MAX_SR_LEN];$/;"	m	struct:hdr_srreq_num	requesttable.h	/^  int req_num;$/;"	m	struct:Entryrequest_table	dsragent.h	/^  RequestTable request_table;$/;"	m	class:DSRAgentrequested_dest	dsragent.h	/^  ID requested_dest;$/;"	m	struct:RtRepHoldoffrequestor	dsragent.h	/^  ID requestor;$/;"	m	struct:RtRepHoldoffreset	cache_stats.h	/^        void reset() {$/;"	f	class:cache_statsreset	path.h	/^  inline void reset() {len = 0; cur_index = 0;}$/;"	f	class:PathresetIterator	path.h	/^  inline void resetIterator() {  cur_index = 0;}$/;"	f	class:PathreturnSrcRouteToRequestor	dsragent.cc	/^DSRAgent::returnSrcRouteToRequestor(SRPacket &p)$/;"	f	class:DSRAgentreverse	path.cc	/^Path::reverse() const$/;"	f	class:PathreverseInPlace	path.cc	/^Path::reverseInPlace()$/;"	f	class:Pathroute	srpacket.h	/^  Path route;$/;"	m	struct:SRPacketroute_add_bad_count	cache_stats.h	/^        int     route_add_bad_count;$/;"	m	class:cache_statsroute_add_count	cache_stats.h	/^        int     route_add_count;$/;"	m	class:cache_statsroute_cache	dsragent.h	/^  RouteCache *route_cache;$/;"	m	class:DSRAgentroute_error	hdr_sr.h	/^  inline int& route_error() {return route_error_;}$/;"	f	struct:hdr_srroute_error_	hdr_sr.h	/^  int route_error_;		\/\/ are we carrying a route reply?$/;"	m	struct:hdr_srroute_error_data_time	dsragent.h	/^  Time route_error_data_time; \/\/ time err data was filled in$/;"	m	class:DSRAgentroute_error_held	dsragent.h	/^  bool route_error_held; \/\/ are we holding a rt err to propagate?$/;"	m	class:DSRAgentroute_find_bad_count	cache_stats.h	/^        int     route_find_bad_count;$/;"	m	class:cache_statsroute_find_count	cache_stats.h	/^        int     route_find_count;$/;"	m	class:cache_statsroute_find_for_me	cache_stats.h	/^        int     route_find_for_me;$/;"	m	class:cache_statsroute_find_miss_count	cache_stats.h	/^        int     route_find_miss_count;$/;"	m	class:cache_statsroute_notice_bad_count	cache_stats.h	/^        int     route_notice_bad_count;$/;"	m	class:cache_statsroute_notice_count	cache_stats.h	/^        int     route_notice_count;$/;"	m	class:cache_statsroute_reply	hdr_sr.h	/^  inline int& route_reply() {return route_reply_;}$/;"	f	struct:hdr_srroute_reply_	hdr_sr.h	/^  int route_reply_;		\/\/ is the reply below valid?$/;"	m	struct:hdr_srroute_reply_len	hdr_sr.h	/^  inline int& route_reply_len() {return route_reply_len_;}$/;"	f	struct:hdr_srroute_reply_len_	hdr_sr.h	/^  int route_reply_len_;$/;"	m	struct:hdr_srroute_request	hdr_sr.h	/^  inline int& route_request() {return route_request_;}$/;"	f	struct:hdr_srroute_request_	hdr_sr.h	/^  int route_request_;		\/* is this a route request? *\/$/;"	m	struct:hdr_srroute_request_num	dsragent.h	/^  int route_request_num;	\/\/ number for our next route_request$/;"	m	class:DSRAgentroutecache	mobicache.cc	/^  MobiCache *routecache;$/;"	m	class:Cachert_reqs_outstanding	requesttable.h	/^  int rt_reqs_outstanding;$/;"	m	struct:Entryrt_rq_max_period	dsragent.cc	/^Time rt_rq_max_period = 10.0;	\/\/ (sec) maximum time between rt reqs$/;"	vrt_rq_period	dsragent.cc	/^Time rt_rq_period = 0.5;	\/\/ (sec) length of one backoff period$/;"	vrtrep_holdoff	dsragent.h	/^  RtRepHoldoff rtrep_holdoff[RTREP_HOLDOFF_SIZE]; \/\/ not used 1\/27\/98$/;"	m	class:DSRAgentrtreq_seq	hdr_sr.h	/^  inline int& rtreq_seq() {return rtreq_seq_;}$/;"	f	struct:hdr_srrtreq_seq_	hdr_sr.h	/^  int rtreq_seq_;		\/\/ route request sequence number$/;"	m	struct:hdr_srsearchRoute	mobicache.cc	/^Cache::searchRoute(const ID& dest, int& i, Path &path, int &index)$/;"	f	class:Cachesecondary_cache	mobicache.cc	/^  Cache *secondary_cache; \/* routes we've learned via a speculative process$/;"	m	class:MobiCachesendBufferCheck	dsragent.cc	/^DSRAgent::sendBufferCheck()$/;"	f	class:DSRAgentsendOutPacketWithRoute	dsragent.cc	/^DSRAgent::sendOutPacketWithRoute(SRPacket& p, bool fresh, Time delay = 0.0)$/;"	f	class:DSRAgentsendOutRtReq	dsragent.cc	/^DSRAgent::sendOutRtReq(SRPacket &p, int max_prop)$/;"	f	class:DSRAgentsendRouteShortening	dsragent.cc	/^DSRAgent::sendRouteShortening(SRPacket &p, int heard_at, int xmit_at)$/;"	f	class:DSRAgentsend_buf	dsragent.h	/^  SendBufEntry send_buf[SEND_BUF_SIZE];$/;"	m	class:DSRAgentsend_buf_timer	dsragent.h	/^  SendBufferTimer send_buf_timer;$/;"	m	class:DSRAgentsetIterator	path.h	/^  inline void setIterator(int i) {assert(i>=0 && i<len); cur_index = i;}$/;"	f	class:PathsetLength	path.h	/^  inline void setLength(int l) {assert(l>=0 && l<=MAX_SR_LEN); len = l;}$/;"	f	class:Pathsimend	dsragent.cc	/^DSRAgent::simend()$/;"	f	class:DSRAgentsize	hdr_sr.h	/^  inline int size() { $/;"	f	struct:hdr_srsize	mobicache.cc	/^  int size;$/;"	m	class:Cachesize	path.cc	/^Path::size() const$/;"	f	class:Pathsize	path.h	/^  inline int size() const {return (type == IP ? 4 : 6);} $/;"	f	struct:IDsize	requesttable.h	/^  int size;$/;"	m	class:RequestTablesr_addr	hdr_sr.h	/^struct sr_addr {$/;"	ssr_hdr_h	hdr_sr.h	8;"	dsrc	srpacket.h	/^  ID src;$/;"	m	struct:SRPacketstart	cache_stats.h	/^        void start() {$/;"	f	class:MobiHandlerstat	routecache.h	/^  struct cache_stats stat;$/;"	m	class:RouteCachestickPacketInSendBuffer	dsragent.cc	/^DSRAgent::stickPacketInSendBuffer(SRPacket& p)$/;"	f	class:DSRAgentsubroute_add_bad_count	cache_stats.h	/^        int     subroute_add_bad_count;$/;"	m	class:cache_statssubroute_add_count	cache_stats.h	/^        int     subroute_add_count;$/;"	m	class:cache_statssubroute_find_bad_count	cache_stats.h	/^        int     subroute_find_bad_count;$/;"	m	class:cache_statssubroute_find_count	cache_stats.h	/^        int     subroute_find_count;$/;"	m	class:cache_statssubroute_notice_bad_count	cache_stats.h	/^        int     subroute_notice_bad_count;$/;"	m	class:cache_statssubroute_notice_count	cache_stats.h	/^        int     subroute_notice_count;$/;"	m	class:cache_statst	dsragent.h	/^  Time t;			\/\/ insertion time$/;"	m	struct:SendBufEntryt	dsragent.h	/^  Time t;$/;"	m	struct:GratReplyHoldDownt	path.h	/^  Time t;			\/\/ when was this ID added to the route$/;"	m	struct:IDtable	requesttable.h	/^  Entry *table;$/;"	m	class:RequestTabletap	dsragent.cc	/^DSRAgent::tap(const Packet *packet)$/;"	f	class:DSRAgenttapped_pkts	dsragent.h	/^  int tapped_pkts;$/;"	m	class:DSRAgenttell_addr	hdr_sr.h	/^  nsaddr_t tell_addr;		\/\/ tell this host$/;"	m	struct:link_downtestinit	dsragent.cc	/^DSRAgent::testinit()$/;"	f	class:DSRAgenttmp_pkt	dsragent.h	/^  Packet *tmp_pkt;$/;"	m	class:DSRAgentto_addr	hdr_sr.h	/^  nsaddr_t to_addr;		\/\/ get packets to to_addr host$/;"	m	struct:link_downtotal_pkts	dsragent.h	/^  int total_pkts;$/;"	m	class:DSRAgenttrace	dsragent.cc	/^DSRAgent::trace(char* fmt, ...)$/;"	f	class:DSRAgenttrace	routecache.cc	/^RouteCache::trace(char* fmt, ...)$/;"	f	class:RouteCachetype	path.h	/^  ID_Type type;$/;"	m	struct:IDundeliverablePkt	dsragent.cc	/^DSRAgent::undeliverablePkt(Packet *pkt, int mine)$/;"	f	class:DSRAgentunparse	path.cc	/^ID::unparse(FILE *out) const$/;"	f	class:IDunparse	path.cc	/^Path::unparse(FILE *out) const$/;"	f	class:Pathvalid	hdr_sr.h	/^  inline int& valid() {return valid_;}$/;"	f	struct:hdr_srvalid_	hdr_sr.h	/^  int valid_;			\/* is this header actually in the packet? $/;"	m	struct:hdr_srverbose	dsragent.cc	/^static const int verbose = 0;$/;"	v	file:verbose	mobicache.cc	/^static const int verbose = 0;$/;"	v	file:verbose_debug	mobicache.cc	/^static const int verbose_debug = 0;$/;"	v	file:verbose_debug	routecache.cc	/^static const int verbose_debug = 0;$/;"	v	file:verbose_srr	dsragent.cc	/^static const int verbose_srr = 0;$/;"	v	file:victim_ptr	mobicache.cc	/^  int victim_ptr;		\/\/ next victim for eviction$/;"	m	class:CachexmitFailed	dsragent.cc	/^DSRAgent::xmitFailed(Packet *pkt)$/;"	f	class:DSRAgent~Cache	mobicache.cc	/^Cache::~Cache() $/;"	f	class:Cache~DSRAgent	dsragent.cc	/^DSRAgent::~DSRAgent()$/;"	f	class:DSRAgent~MobiCache	mobicache.cc	/^MobiCache::~MobiCache()$/;"	f	class:MobiCache~Path	path.cc	/^Path::~Path()$/;"	f	class:Path~RequestTable	requesttable.cc	/^RequestTable::~RequestTable()$/;"	f	class:RequestTable~RouteCache	routecache.cc	/^RouteCache::~RouteCache()$/;"	f	class:RouteCache

⌨️ 快捷键说明

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