Self-organizing wireless network protocol stack in Linux user space design and implementation
- Author
- LiuYi
- Advisor
- MaoYuMing
- School
- University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TN929.5 Mobile Communications
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 94
- Citations
- 0
Abstract
The research about the ad hoc network protocols has become the main subject of network communication. A large amount of techniques have been developed to expand and improve the capabilities of ad hoc network protocols in order to raise the performance. One of these techniques is expanding the protocol layer of the standard network protocol stack to form a protocol stack for the ad hoc network.Generally, expanding the standard protocol stack is finished in the kernel of the operating system. However, when implementing the expanding protocol stack in the kernel of operating system, the developer needs to know many kernel details which are not related to developing expanding protocol stack. And it is really hard to debug the protocol layer in the kernel which causes the low developing efficiency. Eventually, the scalability and the portability of the implementing code are very poor.Therefore, it is necessary to implement the expanded protocol layer in the user-space of operating system. Expanding network protocol stack in the user-space can make the developers focus on developing the protocol layer itself without concerning the kernel details too much. And there are powerful debugging tools in the user-space which is useful to debug the code. The expanded ad hoc network protocol layer runs in the user-space which ensures the scalability and the portability.This paper mainly introduces the implementation of an ad hoc network protocol stack in the Linux user-space. First, analyze the requirements of developing the user-space protocol stack. Second, discuss the specific techniques which are used to solve the problems for developing user-space protocol stack. Third, introduce the general user-space protocol layer expanding mode implemented by these techniques. Finally, introduce the test results of the ad hoc protocol stack implemented by the general expand mode running in an emulation system for the ad hoc networks. The results prove the validity of the user-space protocol layer expanding mode.This paper is based on implementing the ad hoc protocol stack on Linux platform, but not confined implementing it on Linux. We start from it to abstract a general mode of expanding protocol layer in the user-space. This general mode uses the virtual network interface technique. With this mode, the developers can not only implement the ad hoc network protocol stack, but also other protocol stack which uses different protocols and algorithms.
Table of contents
Abstract 4-5
ABSTRACT 5-11
The first chapter 11-16
1.1 project background 11-14
1.2 Research 14
1.3 thesis objectives and content 14-15
1.4 paper structure 15-16
Chapter wireless self-organizing protocol stack extended model 16-26
2.1 Introduction 16
2.2 communication node protocol stack model 16-18
2.2.1 Communication Node physical structure 16-17
2.2.2 split protocol stack model 17-18
2.3 Linux stack vertically extended mode 18-24
2.3.1 Linux network protocol stack structure 18-20
2.3.2 network data structure 20-22
2.3.3 virtual network interface technology 22-24
2.4 Linux protocol stack to achieve longitudinal extension 24-26
Chapter network protocol stack from the kernel to user space transplant 26-47
3.1 Introduction 26
3.2 Design Summary 26-28
3.3 user-space protocol stack interface design 28-40
3.3.1 user space stack upper interface design 28-35
3.3.2 user space stack lower interface design 35-40
3.4 user space stack configuration interface design 40-42
3.5 user space stack scheduling mechanism 42-46
3.5.1 scheduling mechanism needs 42-43
3.5.2 scheduling mechanism implementation analysis 43-44
3.5.3 libevent introduction 44-45
3.5.4 Using libevent 45-46
3.6 user space stack frame 46-47
Chapter wireless ad hoc protocol stack user space expansion mode 47-66
4.1 Introduction 47
4.2 Design Goals 47-48
4.3 user space protocol layers vertically extended mode 48-50
4.4 Data structure design 50-54
4.4.1 user space data structure analysis 50-52
4.4.2 user space data structure design 52-54
4.5 interface library functions designed 54-64
4.5.1 Operating data structure standard function 55-57
4.5.2 protocol layer interface functions 57-63
4.5.3 Other functions 63-64
4.6 extended protocol layer process-driven mechanisms 64-65
4.7 Chapter Summary 65-66
Chapter Test 66-74
5.1 test environment 66-68
5.2 testing process and results 68-73
5.2.1 Test Conditions 69
5.2.2 single extended test results 69-71
5.2.3 Multilayer extended test results 71-73
5.3 test results 73-74
Chapter Summary 74-75
Thanks 75-76
References 76-78
attack during Shuo research 78-79
Related dissertations
- Research on Clustering-based Task Scheduling of Ad Hoc Network
- Research on Routing Algorithm Based on Link Stability Prediction in Ad Hoc Network
- The Research of AODV-ETT Routing Protocol Based on Location Prediction
- Research of Ad routing protocol in Hoc network
- Research on Clustering Algorithm and Routing Protocol in Ad Hoc Network
- Research on the MAC Layer and Related Technology of Wireless AD HOC Networks
- The Research of DSR-iETT Routing Protocol Based on Geographical Location Prediction
- Research of Flooding Control Routing Protocol Based on Location Prediction in Ad Hoc Network
- Research on Optimization of Routing Protocol with Mobile Ad Hoc Networks Based on Game Theory
- Research on Group Mobility Models of Tactical Ad Hoc Network
- Research on Geographic Routing Algorithm in Mobile Ad Hoc Network
- Research on an Energy Efficient Multipath Routing Protocol in Ad Hoc Based on QoS
- Study on the interference of multipath routing protocol without opportunistic forwarding Ad network based on hoc
- Study of Ad Hoc network QoS routing protocol
- A Social Mobility Model and Its Performance Analysis for Ad Hoc Networks
- The Research of Hierarchical Routing Protocol Based on Link Stability Prediction
- MAC Layer Performance Optimization Research for Smart Grid Wireless Networks
- Ocean Observations Data Transmission System
- Design of Intelligent Vehicle Management and Control System Based on Bluetooth
- The Application of Ad Hoc Network in Smart Home System