self-confidence,the source of all the power

导航

随笔分类 -  NS3系列

NS3 NodeContainer
摘要:NodeContainer n=NodeContainer(n1,n2,...,nm);m值不能大于5,包含个数不能超五个。。 阅读全文

posted @ 2012-03-14 15:37 漩涡鸣人 阅读(1310) 评论(0) 推荐(0) 编辑

NS3 IP首部校验和
摘要:未作整理。。。NS3中的包IP首部校验和功能是默认关闭的,需要主动设置才行。。Just because ns-3 disable the checksum, you can enable it byGlobalValue::Bind ("ChecksumEnabled", BooleanValue (true));in ns-3.8:CalcChecksum attribute changesFour IPv4 CalcChecksum attributes (which enable the computation ofchecksums that are disable 阅读全文

posted @ 2012-03-13 10:06 漩涡鸣人 阅读(643) 评论(0) 推荐(0) 编辑

NS3编译运行
摘要:程序前面导入的头文件(也是一系列的头文件组合在一起的模块头文件)放在../build/debug/ns3/下面。首先介绍一种最简单允许 examples 和 tests的方法:$./waf configure --enable-examples --enable-tests$./waf build1.当一次使用 build.py 运行禁止: $ ./build.py允许: $ ./build.py --enable-examples --enable-tests2.第一次使用 waf 运行build禁止:$./waf configure$./waf build允许:$./waf configu 阅读全文

posted @ 2011-12-23 09:55 漩涡鸣人 阅读(3336) 评论(0) 推荐(1) 编辑

NS3 日志
摘要:转:NS-3日志子系统的提供了各种查看仿真结果的渠道:一、使用Logging Module0、【预备知识】日志级别及其对应的宏NS-3提供了若干个日志级别来满足不同的Debug需求,每一级的日志内容都涵盖了低一级的内容。这些级别对应的宏从低到高排列为: *NS_LOG_ERROR — Log error messages; *NS_LOG_WARN — Log warning messages; *NS_LOG_DEBUG — Log relatively rare, ad-hoc debugging messages; *NS_LOG_INFO — Log informational... 阅读全文

posted @ 2011-12-21 16:06 漩涡鸣人 阅读(1942) 评论(0) 推荐(0) 编辑

ns3 无线资料
摘要:ns-3的能量模型: http://www.nsnam.org/wiki/index.php/NS-3_energy_model 电池基础类 EnergySource http://www.nsnam.org/doxygen-release/classns3_1_1_energy_source.html 收发器基础类 DeviceEnergyModel http://www.nsnam.org/doxygen-release/classns3_1_1_device_energy_model.htmlns3::WifiRadioEnergyModel http://www.nsnam.org/d 阅读全文

posted @ 2011-08-08 11:44 漩涡鸣人 阅读(2087) 评论(0) 推荐(0) 编辑

NS3的两个例子
摘要:/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ //Emacs模式行,GPL boilerplate#include "ns3/core-module.h" //#include "ns3/simulator-module.h"#include "ns3/node-module.h"#include "ns3/helper-module.h"// Default Network Topology//// 10.1 阅读全文

posted @ 2011-02-22 16:11 漩涡鸣人 阅读(4303) 评论(0) 推荐(0) 编辑

NS3中文教程5:Tweaking NS3
摘要:5 Tweaking NS3 (NS3调整?) http://www.nsnam.org/docs/release/tutorial/tutorial_16.html#Conceptual-Overview 翻译: 杨飞422467574@qq.com校稿: Xiaochuan Shenxcs105@zepler.net编辑: ProbibidoAmor banana.0420@yahoo.com.cn5.1 日志模块的使用在运行first.cc脚本时,我们已经简单的了解了日志模块。现在,我们将更深入的了解日志子系统是为哪些用户案例设计的。5.1.1 日志概述很多大型系统支持某种的消息日志功能 阅读全文

posted @ 2011-02-21 10:35 漩涡鸣人 阅读(5060) 评论(0) 推荐(0) 编辑

NS3中文:4 概念描述
摘要:4 概念概述(Conceptual Overview) http://www.nsnam.org/docs/release/tutorial/tutorial_16.html#Conceptual-Overview 翻译: 陈杰 刘小洋piyajee@163.com (百思论坛)校稿: Xiaochuan Shenxcs105@zepler.net编辑: ProbibidoAmor banana.0420@yahoo.com.cn4.1 关键的抽象概念(Key Abstractions) 在本节中,我们将回顾一些常用的网络术语,以及它们在ns-3的特定含义。4.1.1 节点在因特网术语中,任何 阅读全文

posted @ 2011-02-12 10:09 漩涡鸣人 阅读(3057) 评论(0) 推荐(1) 编辑

NS-3笔录
摘要:一、简介1. 什么是NS-3?NS是一个离散事件驱动网络模拟器。官方定义:(from http://www.nsnam.org/)ns-3 is a discrete-event network simulator for Internet systems, targeted primarily for research and educational use. ns-3 is free software, licensed under the GNU GPLv2 license, and is publicly available for research, development, and 阅读全文

posted @ 2011-02-12 10:01 漩涡鸣人 阅读(2472) 评论(0) 推荐(1) 编辑

NS3中文教程:3下载及编译软件
摘要:首先感谢此稿的翻译工作人员,正是因为他们的劳动才让我们这些初学者有捷径可取。3.1 下载ns-3从现在起,我们假定读者使用的工作环境为Linux或者仿Linux环境(Linux, Cygwin等等.) 并且已经安装了可用的GNU工具链,而且还安装了Mercurial(分布式版本控制系统)和Waf软件。细节已经在ns-3网页中详述过,参见以下链接:http://www.nsnam.org/getting_started.html.ns-3源码可以在网站http://code.nsnam.org 上的Mercurial源码库下载到.你也可以从链接http://www.nsnam.org/relea 阅读全文

posted @ 2011-02-12 10:00 漩涡鸣人 阅读(3829) 评论(0) 推荐(1) 编辑