登录
首页 » C++ » ns2_static_routing.tar

ns2_static_routing.tar

于 2015-09-27 发布 文件大小:37KB
0 60
下载积分: 1 下载次数: 8

代码说明:

  Static routing is very simple. Each node has a routing table where each entry has the destination and the next node. On receiving a packet, a node find the entry corresponding to the packet s destination, and forwards it to the next node. If there is no entry, the node drops the packet. That s it. While writing the static routing protocol in ns2 is easy, we have to set a routing tables at every node. This can be done by writing an external program. For example, when you generate a topology, you can set up routing table with the shortest path metric. Source codes In this project, we are going to write new source codes (static_routing_pkt.h, static_routing.h, and static_routing.cc) and new script (static.tcl), and modify existing codes (packet.h, queue.cc, ns-lib.tcl, ns-mobilenode.tcl, and ns-packet.tcl) The source codes of this project is available here.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • change-the-private-members
    类的私有成员是面向编译器的。对内存而言,一切都是公开的。代码即是使用指针去改变类的私有成员,来说明这个问题。(Private members of the class-oriented compiler. Memory is concerned, everything is open. Code is to use a pointer to change the private members of the class, to illustrate the problem.)
    2014-01-10 22:55:11下载
    积分:1
  • imitate-the-Windows-start-menu
    主要是模仿Windows开始菜单,设置出一样漂亮的菜单(Mainly imitate the Windows start menu, set up the same beautiful menu)
    2015-08-29 15:05:28下载
    积分:1
  • ASP.NET数据库链接SQL的一些例子,都是很好的我想一定会对您有用的。...
    ASP.NET数据库链接SQL的一些例子,都是很好的我想一定会对您有用的。-ASP.NET SQL database link some examples are very good, I think you will definitely be useful.
    2022-03-16 09:55:42下载
    积分:1
  • buanyi
    为什么要上载这么多(why so many on the)
    2004-10-04 11:32:09下载
    积分:1
  • C++中的Factorialsss代码和C中的循环冗余检查 Codes
    factorialsss code in c++ and cyclic redundancy check is exceuted in c++
    2020-06-21 01:00:02下载
    积分:1
  • TMS320F2812-EVM
    利尔达TMS320F2812开发板的全套资料,包括数据手册,使用说明,电路原理图,利尔达公司的例码和TI公司的例码。(TMS320F2812 development board利尔达a complete set of data, including data manuals, instructions, circuit schematics, the company)
    2021-03-04 10:09:32下载
    积分:1
  • test-program
    这是英飞凌XMC1300低压电机套件的测试源代码,是其开发板的配套测试程序。(This is a test of infineon XMC1300 low-voltage motor suite source code, is its development board supporting the test program.)
    2015-10-28 10:13:40下载
    积分:1
  • 网吧影院系统,可以在网站里用的网吧影院系统。
    网吧影院系统,可以在网站里用的网吧影院系统。-netroom movie system
    2022-01-25 18:12:58下载
    积分:1
  • VC6.0MFC
    vc++制作串口调试助手,用vc6.0开发环境,一步一步教大家制作串口调试助手(vc++ production serial debugging assistant with vc6.0 development environment, step by step teach you making serial debugging assistant)
    2013-07-18 16:02:31下载
    积分:1
  • ADO2SqlServer
    好的东西要分享,最近下载了一个VC++连接ACCESS的数据库,对数据库的操作非常详细,但就是弄不懂怎么增删改查,请高手指教!(Good things to share recently downloaded a VC++ connected ACCESS database, the operation of the database is very detailed, but do not understand how CRUD expert advice, please!)
    2020-11-04 20:59:52下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 57今日下载