陈继彤,郭伟,任智
(电子科技大学通信抗干扰技术国家级重点实验室,四川 成都 610054)
摘要:OLSR(Optimized Link State Routing Protocol,最优链路状态路由协议,RFC3626)协议是应用于MANET网络的一种先应式表驱动路由协议,其拓扑发现过程是实现有效通信的关键。本文提出了一种基于C++的OLSR协议拓扑发现的实现方案。该方案采用模块化面向对象设计方法,结合C++语言的特点使用了一些新的实现方法,主要完成了邻居侦测、链路侦测、MPR选举、HELLO消息处理、TC消息处理和拓扑计算等功能。
关键词:MANET;路由协议;OLSR;实现;TC发现
中图分类号:TN915.04 文献标识码:A 文章编号:1672-4984(2006)03-0078 04
An implementation plan of topology discovery of OLSR protocol
CHEN Ji-tong, GUO Wei, REN Zhi
(National Key Laboratory of Communication, University of Electronic Science and Technology, Chengdu 610054,China)
Abstract: OLSR(optimized link state routing protocol,RFC3626) is a kind of pre-active table driven routing protocol applied in MANET. Topology discovery process of OLSR is the key of efficiently realizing the communication. In this paper, a implementation plan of topology discovery of OLSR protocol was presented. The implementation was done in a modular and OOP fashion, using certain new methods combined with the characteristics of C++, which included the link sensing, neighbor detection, MPR selecting, HELLO Control processing, TC Processing and topology calculation.
Key words: MANET;Routing protocol;OLSR;Implementation;TC discovery