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

ns2_static_routing.tar

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

  • 三维多孔介质数值模拟代码
    fluent udf 多孔介质模型,用来解决多孔介质模拟的模型建立(Porous medium model of fluent udf)
    2018-10-11 09:02:05下载
    积分:1
  • int
    windows int IRQ3中断是使用(windows int IRQ3 interrupt is using)
    2013-12-17 22:02:58下载
    积分: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
  • 爱心网站整站源码
    爱心网站整站源码-love the whole point-source Web site
    2022-05-15 01:12:36下载
    积分:1
  • rsglxt
    这事一个人事管理系统的源代码,功能齐全用户可以根据系统进行修改。(This matter a personnel management system source code, a full-featured user can be modified according to the system.)
    2010-03-11 16:07:51下载
    积分:1
  • 头皮神EA(5分钟任意4月20倍2017-10-23)
    外汇交易用,策略为剥头皮,需要在低点差平台上测试和试用。(Scalping strategy is highly efficient and requires testing.)
    2018-10-18 21:49:39下载
    积分:1
  • Visual C++网络通信协议分析与应用实现代码
    Visual C++网络通信协议分析与应用实现代码-Visual C network communication protocol analysis and application code to achieve
    2023-07-11 01:20:04下载
    积分:1
  • shizhong
    说明:  这是c++的mfc写的一个时钟,能够有起始 ,停止,重置的功能。(This is c++ The mfc write a clock, can start, stop, reset functions.)
    2008-12-07 11:15:04下载
    积分:1
  • audio
    说明:  基于alsa的实时录音播放(需要安装关于alsa的库直接调用Alsa中的接口实现实时录音播放)(base on ALSA capture and playback)
    2019-03-22 19:10:45下载
    积分:1
  • project
    一个基于DSP 2812的开关磁阻电机的控制程序的例子。用霍尔传感器测相位,输入cap引脚。( an example control program of the switched reluctance motor on DSP 2812 .)
    2009-05-02 22:19:44下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载