-
AODV 工作源代码
AODV 是一种按需路由协议。它从数目的路径选择最短路径。它包括三个阶段: RREQ 路由请求、 RREP 路由答复和 RRER 错误消息路由。存储节点将播出自己的 id 给邻居使用你好消息。您可以检查源代码在 ns2 文件夹 aodv.cc 和 aodv.h 来获取关于这个专题的详细信息。AODV 包含四个表,即,AODV 的邻居表、 AODV 前体列表、 AODV 广播的 ID 表和 AODV 路由表。Neighbortable 用来存储任何节点的邻居的 ID。以上就是描绘了相邻表的类,它具有公共的 andprotected 成员。在公共成员就只有一个成员函数 "AODV_Neighbour" 是实际上是一个构造函数,它 initializethe 变量 "nb_addr" 创建类实例时。它是由两个组成的 inprotected 的成员变量 1) nb_addr 和 2) nb_expire。这两个变量是商店的邻居表中。第是邻居地址,第二个是到期时间为基于。这些表或类是保持运行 AODV 协议的 thetopology 中的所有节点。Precursorlist 维护 RREQ 源和 RREQ 目的地 whilegiving 答复到源的 id。它定期删除该条目。BroadcastIdclass 是 SourceAdress(nsaddr_t src),Currentnode"Id (u_int32_t id) 的存储并使其过期时间,播出的 idrecord。在 AODV 协议源启动 RREQ 数据包时它 willbroacast 在自然和 RREQ 数据包还有一个 rq-> rq_bcast_id 的字段代表当前 RREQ 广播 id 值。所以 whileforwarding RREQ 数据包的每个节点维护此表,因此 calledBroadcastID 表的处理广播请求数据包。像所有无功的协议,在 AODV,哲学是由节点点播只传播拓扑信息。当一个节点要传输到对没有路由的主机通信时,它将生成将会被淹没一个有限的方式到其他节点的 re
- 2022-05-05 17:04:43下载
- 积分:1
-
Queue management package categories, including mutex locks, the function of FIFO
队列管理封装类,包括mutex锁, 先进先出的功能-Queue management package categories, including mutex locks, the function of FIFO
- 2022-03-13 22:08:52下载
- 积分:1
-
I wrote one for the other thread to start the code, you can scan the current run...
本人写的一个用于启动其他线程的代码,可以扫描当前正在运行的进程,并判断该进程是否在运行,如果没有则启动改进程-I wrote one for the other thread to start the code, you can scan the current running processes, and to determine whether the process was in operation, if not then start the change process
- 2023-07-11 14:40:02下载
- 积分:1
-
一个不错的学习程序 有兴趣的朋友可以看看的
一个不错的学习程序 有兴趣的朋友可以看看的-a good learning process are interested can look at the friends
- 2022-04-09 10:03:34下载
- 积分:1
-
超市
模拟顾客到超市选购,退货,买帐等的流程.-supermaket
- 2022-06-29 01:49:40下载
- 积分:1
-
字母横向滚动控件,可以设置滚动的方向,内容,和底色
字母横向滚动控件,可以设置滚动的方向,内容,和底色-Letters horizontal scroll controls, can set the scroll direction, content, and background
- 2023-02-23 20:20:03下载
- 积分:1
-
VC++画图及属性表单编程及一些文件的操作保存等
VC++画图及属性表单编程及一些文件的操作保存等-VC++draw and attribute form and list plait distance and some operations of documents keep etc.
- 2022-05-14 14:35:58下载
- 积分:1
-
本示例提供了一个简单的蓝牙设备发现的实现…
windows mobile的蓝牙功能
This sample provides an implementation of simple Bluetooth device discovery
via the Winsock 2 API. It provides a listbox control which, when searching
is complete, lists the discovered Bluetooth devices. Only names of the devices
are displayed, but the addresses of the devices are also retrieved, and can
be used to query the devices for more information (not implemented)-This sample provides an implementation of simple Bluetooth device discovery
via the Winsock 2 API. It provides a listbox control which, when searching
is complete, lists the discovered Bluetooth devices. Only names of the devices
are displayed, but the addresses of the devices are also retrieved, and can
be used to query the devices for more information (not implemented)
- 2022-02-15 10:46:58下载
- 积分:1
-
C achieve similar to the Windows Calculator function of a more perfect calculato...
用C++实现的类似Windows中的计算器的一个功能比较完善的计算器。-C achieve similar to the Windows Calculator function of a more perfect calculators.
- 2022-09-15 11:35:04下载
- 积分:1
-
各种各样的java源程序
各种各样的java源程序-variety of java source
- 2023-08-09 11:50:03下载
- 积分:1