Fork me on GitHub
  2012年7月19日
摘要: simple_source模块的功能是按照配置产生包,包括不同的包格式和产生速率,也是比较简单的进程模型。参考了《opnet process model:simple_source分析》http://hi.baidu.com/ebinghaus/blog/item/c7cade9228876c83a877a405.html 该模块有4个local statistic,注意有5个model attribute,分别是Packet Interarrival Time,Packet Size,Packet Format,Start Time,Stop Time,这些是在使用该模块时需要配置的,当然. 阅读全文
posted @ 2012-07-19 19:59 loopever 阅读(4128) 评论(0) 推荐(0) 编辑
摘要: sink模块的进程模型是sink,是OPNET中最简单的进程,功能是"Accepts packets from the source and destroys them",也是新建一个processor时的默认进程模型。sink模型的state variable有10个,其中5个是local statistic,5个是global statistic,temp vairable 包括:Packet*pkptr;doublepk_size;doubleete_delay;没有函数模块。状态机很简单: INIT状态的入口函数是在初始化各统计量handle,使用op_stat_r 阅读全文
posted @ 2012-07-19 16:23 loopever 阅读(2090) 评论(0) 推荐(0) 编辑