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