陳繼彤,郭偉,任智
(電子科技大學通信抗干擾技術國家級重點實驗室,四川 成都 610054)
摘要:OLSR(Optimized Link State Routing Protocol,最優(yōu)鏈路狀態(tài)路由協議,RFC3626)協議是應用于MANET網絡的一種先應式表驅動路由協議,其拓撲發(fā)現過程是實現有效通信的關鍵。本文提出了一種基于C++的OLSR協議拓撲發(fā)現的實現方案。該方案采用模塊化面向對象設計方法,結合C++語言的特點使用了一些新的實現方法,主要完成了鄰居偵測、鏈路偵測、MPR選舉、HELLO消息處理、TC消息處理和拓撲計算等功能。
關鍵詞:MANET;路由協議;OLSR;實現;TC發(fā)現
中圖分類號: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