Design and Implementation of Embedded TCP/IPV6 Stack

Author
ChengJiZhong
Advisor
ZhaoHuan
School
Hunan University
Major
Computer Applications
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2008
Downloads
218
Citations
2

Request the full text

Abstract

Embedded TCP / IP is the TCP / IP technology for embedded devices, it is a combination of embedded technology with TCP / IP technology, the existing mainstream TCP / IP technology based on IPv4 to IPv6 IPv4 upgrade version, is the core of the next generation Internet, the IP address length from 32 to 128, completely solve the IPv4 address shortage, address auto-configuration, service quality control, but it also has many advantages. Unfortunately, all existing open source embedded TCP / IP protocol stack do not support IPv6, so this topic has designed an embedded TCP/IPv6 protocol stack. Firstly, which only achieve the basic TCP / IP communication function, remove (Security Enhancement Mobile IP support diverse way access) complex auxiliary functions streamline principle. And under the guidance of this principle, remove the dial-up connection related PPP, SLIP protocol and IP layer security control IPsec protocol, UDP protocol of the transport layer. On the left of the core protocols were simplified as follows: IPv6 protocols only achieve basic header for the sub-Segmentation and Reassembly extension header does not support IP forwarding. The ICMPv6 protocol achieved only acknowledgment response packets and destination unreachable error message, do not answer requests, router solicitation message. Transport Layer Control Protocol (TCP) is only to achieve its finite automaton, sliding window, the round-trip time estimates and retransmission, the round-trip time estimates is also simplified; same time the neighbors up to probe the upper layer protocols up to confirm optimized, the optimized neighbors up the probing mechanism does not require the time up to the detection, can also get neighbors to change the MAC should each receive a positive acknowledgment of the upper; addition ALTERA DE2 platform an application The cache protocol stack cache, network card MAC cache three cache management mode, and in the protocol stack cache internal to adopt a \IPv6 protocol stack, and message testing, throughput test, the data reported delayed testing, object code, statistics and analysis; The results proved that the design of embedded the TCP/IPv6 protocol stacks have basic communication functions, the amount of code less simple to run, an embedded device access IPv6 network feasible solutions.

Table of contents

Abstract 5-6 ABSTRACT 6-12 Chapter 1 Introduction 12-17 1.1 Background and significance 12-14 1.1.1 embedded Internet technology 12-13 1.1.2 IPv6 with embedded IPv4 defects improvements a TCP/IPv6 of necessity 13-14 1.2 research status 14-15 the the 1.2.1 embedded Internet Research 14 1.2.2 IPv6 Research 14-15 1.3 topics 15-16 1.4 This article structure 16 1.5 This chapter Summary 16-17 the Chapter 2 TCP/IPV6 protocol stack 17-26 2.1 TCP/IPV6 protocol stack hierarchy 17-18 2.2 IPV6 protocol 18-20 2.2.1 IPv6 header 18-19 2.2.2 IPv6 address 19-20 2.3 ICMPV6 agreement 20-22 2.3.1 ICMPv6 error message 20-21 2.3.2 ICMPv6 information message 21-22 2.4 neighbor discovery protocol 22-24 2.4.1 Neighbor Solicitation messages 22-23 2.4.2 neighbor advertisement message 23 2.4.3 Address explain 23-24 2.4.4 reachability detection 24 2.5 stateless address autoconfiguration preparation 24-25 2.5.1 stateless address autoconfiguration formulated principle 25 2.5.2 Duplicate Address Detection 25 2.6 This chapter Summary 25-26 Chapter 3 TCP/IPV6 cuts and simplify protocol stack 26-33 3.1 protocol module cuts 26-27 3.2 neighbors Discovery Protocol simplifies 27-28 3.3 ICMPV6 protocol simplifies 28-29 3.4 IPV6 protocol simplifies 29 3.5 TCP protocol simplifies 29-32 3.6 This chapter Summary 32-33 Chapter 4 Embedded TCP/IPV6 of protocol stack streamlined technology 33-42 4.1 protocol process model design 33-34 4.1.1 separate process model 33 4.1.2 operating system kernel process model 33 4.1.3 the design process model 33-34 4.2 protocol stack the limited buffer management model designed 34-35 4.2.1 protocol stack internal cache copy technology 34 4.2.2 protocol stack external cache copy technology 34 4.2.3 protocol stack internal cache management 34-35 4.3 hardware platform for ALTERA DE2 work done 35-39 4.3.1 NIC DM9000A driver model design 35-36 4.3.2 initialization function DM9000_init () function 36 4.3.3 send function TransmitPacket of () 36 4.3.4 receiver function ReceivePacket () 36 4.3.5 driver program and system integration 36-39 4.4 for UC / OS-II operating system work done are found; 39-41 4.5 of this chapter Summary 41-42 Chapter 5-embedded TCP/IPV6 protocol stack design and 42-61 5.1 Network Interface Design and Implementation 42-44 5.1.1 network interface functions 42 5.1.2 Network interface processing flow 42-43 5.1.3 network interface data structure design 43-44 5.2 IPV6 protocol design and implementation 44-46 5.2.1 IPv6 receiving process 44 5.2.2 IPv6 sending process 44-45 5.2.3 IPv6 data structure design 45-46 5.3 ICMPV6 protocol design and implementation 46-48 5.3.1 ICMPv6 data processing flow 46-47 5.3.2 ICMPv6 main data structure design 47-48 5.4 Neighbor Discovery Protocol Design and Implementation 48-53 5.4.1 neighbors discovery protocol data handling process 48-49 5.4.2 reachability detection 49-50 5.4.3 Address explain the process 50-51 5.4.4 The main data structure design 51-53 5.5 stateless address autoconfiguration preparation of design and implementation 53-55 5.5.1 local link address automatically preparation 53-54 5.5.2 request node multicast address and the solicited-node multicast MAC address configuration 54 5.5.3 full node multicast address and multicast MAC address configuration 54-55 5.6 TCP protocol design and implementation 55-58 5.6.1 TCP basic process flow 55-56 5.6.2 TCP data structure design 56-58 5.7 application program interface (API) designed 58-59 5.8 This chapter Summary 59-61 the Chapter 6 Embedded TCP/IPV6 of the protocol stack testing and validation 61-69 6.1 packet test 61-64 6.1.1 local link test 61-63 6.1.2 site test 63-64 6.2 throughput test 64-65 6.3 delay test 65-66 6.4 protocol stack Statistics and Analysis 66-68 6.5 This chapter Summary 68-69 concluded 69-71 the References 71-74 Acknowledgements 74-75 Appendix A (the degree during the academic catalog) 75

Related dissertations

  1. A Research and Implementation of Embedded Real-time IPv6 Protocol Stack
  2. Analysis and Research of Internet Control Message Protocol in IPv6 Network
    KeMing ·Lanzhou University of Technology ·2004 ·Master's thesis
  3. The Application Research of PMTU Protocol in IPv6Network
    ZhangGaoHui ·Chongqing University ·2012 ·Master's thesis
  4. Research and Implementation of Neighbor Discovery Protocol in Distributed Router
    OuYangWeiMing ·Chongqing University ·2012 ·Master's thesis
  5. The Application of ICMPv6 in Measuring the Available Bandwidth of Network
    ChaXinTian ·Jiangsu University ·2007 ·Master's thesis
  6. LAN Protocol Analysis and Monitoring Base on IPv6
    KangPeng ·Jilin University ·2007 ·Master's thesis
  7. Design and Implementation of IPv6 in ARM
    WangWenZhi ·Dalian Maritime University ·2007 ·Master's thesis
  8. IPv6 packet processing protocol stack implemented in hardware technology research
    QinSiLin ·Northwestern Polytechnical University ·2007 ·Master's thesis
  9. Analysis and Research of IPv6 Unicast Data Forwarding
    FangShiHong ·Southwest Jiaotong University ·2006 ·Master's thesis
  10. Analysis and Validation under Linux of ICMPv6 and Its Correlative Protocols
    GuoJianHua ·Southwest Jiaotong University ·2006 ·Master's thesis
  11. Research on Application of Embedded IPv6 on ARM
    XieXiFeng ·Southwest Jiaotong University ·2006 ·Master's thesis
  12. The Realization Mechanism of Embedded IPv6 Protocol Stack Based on SkyEye Emluator Environment
    TaoWeiYe ·Guangdong University of Technology ·2006 ·Master's thesis
  13. Research and Implementation of Forwarding System in High Performance IPv6 Router
    WangHaiBin ·Tsinghua University ·2004 ·Master's thesis
  14. The Design and Implementation of Embedded IPv6 Stack
    LiXin ·Dalian University of Technology ·2005 ·Master's thesis
  15. The ICMPv6 agreement under Linux interface technology
  16. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  17. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
  18. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  19. The Design and Implementation of Multi-functional Smart Home System
  20. Vocational Cappus Network to IPv6Transition Study
    ZhangWenJuan ·Yanshan University ·2012 ·Master's thesis