The Design and Implementation of Embedded IPv6 Stack
- Author
- LiXin
- Advisor
- LiYingZhuang
- School
- Dalian University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 362
- Citations
- 5
Abstract
With the quick development of computer technology, the inexpensive and small embedded devices are popularized. These devices are eager to access Internet. However, the lack of IPv4 address prevents large numbers of embedded devices from connecting to Internet. Next generation network protocol - IPv6 not only has almost limitless address number but also has many advantages, such as more strong security, higher service quality, stateless address auto configuration function and so on. With these advantages, IPv6 becomes the preferred selection for embedded devices to become a member of Internet.IPv6 will make embedded devices become independent entities of Internet, without address limitation and can offer more services than IPv4. However, the embedded TCP/IP stacks which is open source project don’t support IPv6 to this day.This paper describes the design and implementation of an embedded IPv6 stack. It includes IPv6 ICMPv6 Neighbor Discovery modules and extends TCP API network interfaces. The stack has small code size and small runtime memory usage so that it can run within limited resources. It can be ported and extended easily. The system provides a common solution for embedded devices Internet connection via IPv6. Based on this IPv6 stack, we developed DUT network monitor system which is the important part of the campus network’s intelligent management. The network monitor system includes two parts: the network performance; the device-rooms’ states.This system is based on the open source project about IPv4 stack and refers to other TCP/IP stack. It is layered and modularized. The system has been running for two months stably.
Table of contents
Abstract 4-5
Abstract 5-10
Introduction 10-12
1 embedded IPv6 protocol stack proposed 12 - 17
1.1 embedded systems widely used 12
1.2 embedded operating system 12-14
1.3 embedded TCP / IP protocol stack 14-15
1.3.1 embedded TCP / IP protocol stack commonly used methods 14
1.3.2 several mainstream open source embedded TCP / IP protocol stack 14-15
1.4 embedded IPv6 protocol stack proposed 15
1.5 IPv6 protocol stack embedded applications 15-17
2 IPv6 protocol introduced 17-21
2.1 IPv6 development 17-18
2.2 IPv6 changes relative to the IPv4 18
2.3 IPv6 protocol structure 18-19
2.4 IPv6 addressing 19-21
2.4.1 IPv6 address classification 19
2.4.2 IPv6 address notation 19-20
2.4.3 several special address 20-21
3 protocol stack design 21-30
3.1 hierarchical design 21-22
3.1.1 application Programming Interface 21-22
3 .1.2 TCP / IP protocol stack 22
3.1.3 network Interface layer 22
3.2 process model selection 22-23 < br /> 3.3 platform-independent solution 23-24
3.3.1 with the CPU or compiler related definitions 23
3.3.2 OS some related structures and functions 23-24
3.3.3 library Function 24
3.4 memory-efficient method 24-25 < br /> 3.4.1 zero -copy technology 24-25
3.4.2 a copy of the technical 25
3.5 buffer management 25 -28
3.5.1 BSD implementations in Mbuf 25-26
3.5.2 system buffer implementations 26-28
3. 6 memory Management 28
3.7 system communication mechanisms 28-30
4 protocol stack implementation 30-48
4.1 system Functions module design 30-31
4.1.1 system Task 30
4.1.2 system function module division 30-31
4 .2 protocol stack cut 31-32
4.3 data processing 32-33
4.4 IPv6 module implementation 33-35
4.4.1 IPv6 module functions 33-34
4.4.2 main data structure design 34-35
4.4.3 IPv6 addresses related operations 35
4.5 ICMPv6 module implementation 35-36
4.5.1 ICMPv6 module function 35
4.5. 2 message format 35-36
4.5.3 destination unreachable packets 36
4.5.4 ICMPv6 reply packet 36 <br / > 4.6 neighbor Discovery module implementation 36-42
4.6.1 neighbor Discovery module function 36-37
4.6.2 nbsp neighbor discovery packets ; 37-38
4.6.3 the main data structure design and related operations 38-39
4.6.4 address Resolution realization 39-41
4.6.5 address duplication detection to achieve 41-42
4.7 expansion module Implementation 42-43
4.7.1 TCP, UDP module expansion 42
4.7.2 application Programming Interface extensions 42-43
4.7.3 network Interface layer expansion 43 <br / > 4.8 protocol stack test 43-45
4.8.1 test environment 43-44
4.8.2 test Method 44 - 45
4.9 code statistics and analysis 45-48
5 protocol stack application - the campus network monitoring system 48-57
5.1 application background 48
5.2 overall design 48-49
5.3 functional Design and Implementation 49-54
5.3.1 network Performance monitoring module 50-52
5.3.2 devices status monitoring module 52-53
5.3.3 Analytical Processing module 53-54 < br /> 5.3.4 WEB management module 54
5.4 system development and testing 54-57
5.4.1 system development 54
5.4.2 system test 54-57
Conclusion 57-58
References 58-60
master's degree papers published during the case 60-61
Thanks 61-62
Related dissertations
- A Research and Implementation of Embedded Real-time IPv6 Protocol Stack
- Analysis and Research of Internet Control Message Protocol in IPv6 Network
- The Application Research of PMTU Protocol in IPv6Network
- Research and Implementation of Neighbor Discovery Protocol in Distributed Router
- The Application of ICMPv6 in Measuring the Available Bandwidth of Network
- IPv6-based Video Surveillance System
- LAN Protocol Analysis and Monitoring Base on IPv6
- Design and Implementation of IPv6 in ARM
- IPv6 packet processing protocol stack implemented in hardware technology research
- Analysis and Research of IPv6 Unicast Data Forwarding
- Analysis and Validation under Linux of ICMPv6 and Its Correlative Protocols
- Research on Application of Embedded IPv6 on ARM
- The Realization Mechanism of Embedded IPv6 Protocol Stack Based on SkyEye Emluator Environment
- Research and Implementation of Forwarding System in High Performance IPv6 Router
- The ICMPv6 agreement under Linux interface technology
- Design and Implementation of Embedded TCP/IPV6 Stack
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research