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

ns2_static_routing.tar

于 2015-09-27 发布 文件大小:37KB
0 232
下载积分: 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 个回复

  • PCPILOT
    A utility for PC along with source code
    2009-10-21 21:17:34下载
    积分:1
  • osgEarth分页流程
    osgEarth的地形分页流程,我大致的写一下,感兴趣的话,大家可以去代码中看看,以MPEngine为例(osg tile TilePagedLOD* plod = new TilePagedLOD( _engineUID, _liveTiles, _deadTiles ); plod->setCenter ( bs.center() ); plod->addChild ( tileNode ); plod->setFileName( 1, Stringify() << tileNode->getKey().str() << "." << _engineUID << ".osgearth_engine_mp_tile" );)
    2020-06-23 21:40:02下载
    积分:1
  • mcmc_example-master
    说明:  作为Mcmc算法的R语言程序例子,可以根据此例子进行MCMC算法的学习(This is an example of R language for conducting MCMC)
    2020-03-28 20:59:47下载
    积分:1
  • N9020-90112
    安捷伦X系列频谱仪编程手册,包括N9030A、N9020A、N9010A、N9000A、N9038A等型号(Agilent X-Series Signal Analyzer Programmer s Guide N9030A、N9020A、N9010A、N9000A、N9038A)
    2014-04-16 15:25:39下载
    积分:1
  • audacitysrc.tar
    open source of aducity, (aducity of open source.)
    2006-12-25 13:22:03下载
    积分:1
  • A7102-433
    说明:  无线模块A7102的示例程序,包含模块的初始化,发射接收等函数(Wireless module A7102 sample program, including the module initialization functions such as transmitting and receiving)
    2010-03-22 15:56:49下载
    积分:1
  • gqqqsy
    Ce projet a pour but de nous introduire d’une manière pratique aux techniques de traitement automatique du langage naturel
    2013-11-20 20:10:28下载
    积分:1
  • test2
    应老师要求做的VB课后练习内容,这是第二个实验内容。(This is the second test.)
    2013-11-06 16:32:09下载
    积分:1
  • lianliankan
    说明:  一款用VC++6.0写的连连看游戏和辅助工具代码。欢迎下载。(LianliankanGame)
    2009-07-26 15:45:58下载
    积分:1
  • Effects_of_FACTS_Devices_on_a_Power_System_Which_
    Effects of FACTS Devices on a Power System Which Includes a Large Wind Farm
    2013-12-20 03:55:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载