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

ns2_static_routing.tar

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

  • DatabaseAccessLayer
    数据库访问层的通用设计。可根据配置文件的更改适应不同的底层数据库。隔离业务逻辑层。采用C++标准库及ADO方式对数据库进行访问。(The universal design of the database access layer.According to the configuration file changes to adapt to different underlying database. Isolate the business logic layer. C + + standard library and the ADO way to access the database.)
    2012-07-26 16:49:43下载
    积分:1
  • carrier synchronizationttt
    实现BPSK的载波同步,采用的方法是锁频环,最大似然法频率估计(BPSK carrier synchronization is realized,the method is frequency - locked loop and maximum likelihood frequency estimation)
    2019-02-15 14:45:13下载
    积分:1
  • gobang
    一个五子棋游戏,用阿尔法贝塔剪枝的方法实现博弈树,程序会根据最优情况选择正确的落子位置(A Gobang game, using Alphabeta pruning method to achieve the game tree, the program will choose the right drop position according to the optimal situation.)
    2020-06-17 18:00:02下载
    积分:1
  • SeaSurfaceSalinity
    Ultilizing Brightness to retrieve salinity at sea surface and corresponding error
    2013-09-04 09:44:06下载
    积分:1
  • SolarExplorer_PVEmulator_F2802x
    dsp2802x实现的用于光伏发电模拟的模拟器(PV emulator by dsp2802x)
    2014-12-28 11:04:14下载
    积分:1
  • GSM_sms
    GSM手机短消息协议,包括pdu协议,长短信协议等,开发短信猫可参考。(GSM mobile phone short message protocols, including pdu protocol, long SMS protocol, the development of SMS may refer to the cat.)
    2011-06-14 09:20:03下载
    积分:1
  • pppoe协议实现和拨号软件
    pppoe协议实现和拨号软件-PPPOE protocol and dial-up software
    2022-07-11 11:50:32下载
    积分:1
  • MODBUS1
    用C++语言封装的MODBUS通信协议 可直接在工业中用于RS485 与232的通信(modbus communication is demonstrated by c++ language)
    2009-10-19 15:35:13下载
    积分:1
  • socket
    在visualstudio6下实现socket客户端和服务器端(In visualstudio6 to achieve client and server-side socket)
    2010-06-01 18:46:56下载
    积分:1
  • Rent
    这个一个VC连接MSSQL数据库的小软件,软件中具有对数据库中得表查询、添加、删除等功能,为你提供参考。(A VC connecting the small MSSQL database software with a table of the database query, add, delete, and other functions, provide a reference for you.)
    2009-05-01 18:43:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载