下载此文档

DD协议代码分析.doc


文档分类:IT计算机 | 页数:约8页 举报非法文档有奖
1/8
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/8 下载此文档
文档列表 文档介绍
DD协议代码分析#==================================================================#Defineoptions#===================================================================setopt(chan)Channel/WirelessChannel/物理信道类型是无线信道setopt(prop)Propagation/TwoRayGround/if)Phy/WirelessPh/网络借口类型是无线物理层setopt(mac)Mac/802_11/(ifq)Queue/DropTail/PriQueue/接口队列类型是IFQ列队setopt(ll)LL/逻辑链路层类型LL层setopt(ant)Antenna/OmniAntenna/无线模型是全向天线setopt(filters)GradientFilter;#oldnamefortwophasepullfilter/twophasepull过滤器setopt(x)670;#Xdimensionofthetopography设定拓扑范围——长度,670Msetopt(y)670;#Ydimensionofthetopographysetopt(ifqlen)50;#maxpacketinifq/网络接口队列的大小50setopt(nn)10;#numberofnodes/节点数setopt(sndr)1;#noofsenders/没有发送方setopt(rcvr)4;#noofrecvrs/没有recvrssetopt(seed)(stop)100;#simulationtime/仿真时间setopt(tr)"";#tracefile/跟踪文件setopt(nam)"";#namfile/文件名setopt(adhocRouting)Directed_Diffusion/路由协议#==================================================================LLsetmindelay_50us/设置mindelay时间LLsetdelay_25us/设置延迟时间LLsetbandwidth_0;#notused/没有使用的带宽为0Queue/DropTail/PriQueuesetPrefer_Routing_Protocols1#unitygain,omni-directionalantennas/单位增益,全向天线#/OmniAntennasetX_0Antenna/OmniAntennasetY_0Antenna//#InitializetheSharedMediainterfacewithparameters

DD协议代码分析 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数8
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wxc6688
  • 文件大小25 KB
  • 时间2019-09-08