Research and Simulation of Simplistic TCP/IPv6Protocol Stack

Author
WangWeiQin
Advisor
HouYiBin , HuangZhangQin , GongWeiZhong
School
Beijing University of Technology
Major
Software Engineering
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2012
Downloads
86
Citations
0

Request the full text

Abstract

The TCP/IPv6stack is for the whole Internet. Its target is to make nodes ofInternet to work stably and safely. But for some special nodes, like devices in―Internet of Things‖, many of the stack‘s functions are not useful.(In this case, packetslicing function is just not necessary). Sometimes, TCP/IPv6protocol stack cutting isnecessary for saving the limited computing and storage resources of the embeddeddevices, For example, μIPv6is exactly a concise IPv6protocol stack which suitablefor most of intelligent terminal and sensor devices. Therefore, customizing the wholestack for special needing of real systems, and simulating it accurately, to developmore suitable net protocol stack, has very important significance to overall the systemperformance and power saving.Firstly, to lay a theoretical foundation for the customization of the protocolstack, the IPv6protocol stack data structure and work processes were introduced,including the core principle of the header structure and parameter. And analyzed thefunction and significance of each module or process. Then a embedded networkapplications of―single service and multi clients speech recognition system‖was putforward, determine the goal of this embedded network protocol stack cutting is tomeet the demand with the least memory and computing resources, guided with thisgoal, this paper proposed an―compact‖network protocol stack witch with networklayer and transport layer, even some application layer being combined. Specifically,include removing security enhancement module, mobile IP support module and othercomplex auxiliary functions, just keep the core protocol module. Inside themodules, only the most basic communications functions is supported, cut out all theother auxiliary functions. And the IPv6module, the ICMPv6module and neighbordiscovery protocol for large-scale simplify.About the TCP module, no longer use asliding window strategy, instead of the fixed cache area, and no longer supports thecongestion window strategy and the method of slow start, but only support the fastretransmit and fast recovery mechanism. Besides, this paper combined the TCPprotocol and IP protocol with the application together, to avoid memory copy of thedata transfer.At last, the paper achieved the protocol stack with c++object-orientedprogramming, and simulated the protocol stack with the application program togetherby VC++develop kit. The results show that this protocol stack being customized canmeet the requirement of the application environment perfectly.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-15 1.1 subject background 9-11 1.1.1 embedded Internet technology 9-10 1.1.2 TCP/IPv6 protocol stack for embedded proposed 10-11 1.2 nbsp research status ; 11 1.3 the main contents 11-12 1.4 nbsp paper tissue structure ; studies 12-15 Chapter 2 TCP/IPv6 protocol stack 15-26 2.1 TCP/IPv6 protocol stack overall structure 15-16 2.2 IPv6 protocol 16-18 2.2.1 IPv6 header 16-17 2.2.2 IPv6 address 17-18 2.3 ICMPv6 protocol 18-19 2.3.1 ICMPv6 packet format 18 2.3.2 ICMPv6 error control packets 18-19 2.3.3 ICMPv6 informational messages 19 2.4 neighbor discovery protocol 19 - 23 2.4.1 neighbor solicitation agreement 20 2.4.2 neighbor advertisement agreement 20-21 2.4.3 address resolution process 21-22 2.4.4 neighbor reachability checking 22-23 automatic configuration nbsp 2.5 IPv6 address ; 23-24 2.6 TCP transport layer protocol 24 -25 2.6.1 TCP three-way handshake 24 2.6.2 flow control and sliding window 24 2.6.3 congestion control and congestion window 24-25 2.6.4 fast retransmit and fast recovery 25 2.7 Summary 25-26 Chapter 3 protocol stack application environment needs analysis identifying and analyzing 26-34 3.1 protocol stack to streamline application environment 26-29 3.1.1 embedded terminal task analysis 27-28 3.1.2 server task analysis 28-29 3.2 parameter extraction module provides an overview and analysis of the data structure analysis 29-31 3.3 system network performance requirements for the 31-33 3.3.1 network data fault tolerance requirements 31 3.3.2 network data loss rate demand 31-32 3.3.3 network data latency requirements 32 3.3.4 network data flow requirements 32-33 3.4 Summary 33-34 Chapter 4 protocol stack cutting design cutting 34-48 4.1 protocol module 34-36 4.1.1 information receiving and processing the total process design 35-36 4.1 .2 receiving and processing information the total process design simplify nbsp 36 4.2 IPv6 protocol ; 36-38 4.2.1 Ipv6 information receiving treatment process design 37 <br / > 4.2.2 Ipv6 information transmission processing flow design 37-38 simplifies 4.3 ICMPv6 protocol 38-41 4.3.1 ICMPv6 information receiving treatment process design 39-40 4.3.2 ICMPv6 information receiving treatment process design 40-41 4.4 neighbor discovery protocol to simplify 41-44 4.4.1 router Discovery process design 42-43 4.4.2 address autoconfiguration process design 43 4.4.3 neighbor discovery process design 43-44 4.5 TCP protocol simplified 44-46 4.6 Summary 46-48 Chapter 5 streamlined implementation TCP/IPv6 protocol stack 48-68 5.1 IPv6 network protocol stack overall design 48-49 5.2 memory management mechanism design and implementation design and implementation 49-51 5.3 IPv6 module 51-57 main data structure 5.3.1 IPv6 module using send 51-52 5.3.2 IPv6 packets 52-55 5.3.3 IPv6 packets Receive design and implementation 55-57 5.4 ICMPv6 module main data structures 57-60 5.4.1 ICMPv6 module 58 5.4 .2 ICMPv6 input function 58-59 5.4.3 ICMPv6 send function 59-60 5.5 neighbor discovery and address autoconfiguration module design and implementation 60 -63 5.5.1 the main data structures neighbor discovery module 60-61 5.5.2 router sends request packets 61 5.5.3 receives a router advertisement packets 61-62 5.5.4 sends a neighbor solicitation packets and neighbor advertisement packets design and implementation 62-63 5.6 TCP module 63 -65 5.7 protocol stack with application 65-66 5.8 Summary 66-68 Chapter 6 analyzes the results of the simulation environment to build and achieve 68-74 6.1 simulation environment fusion 68-69 6.2 protocol stack and application environment simulation 69-71 6.3 simulation results 71-73 6.4 Summary 73-74 conclusion 74-76 References 76-78 study Master's degree in papers published during 78-80 Thanks 80

Related dissertations

  1. The Application Research of PMTU Protocol in IPv6Network
    ZhangGaoHui ·Chongqing University ·2012 ·Master's thesis
  2. Research on Network Topology Discovery and Display Technology
  3. The Application of ICMPv6 in Measuring the Available Bandwidth of Network
    ChaXinTian ·Jiangsu University ·2007 ·Master's thesis
  4. A Research and Implementation of Embedded Real-time IPv6 Protocol Stack
  5. Analysis and Research of Internet Control Message Protocol in IPv6 Network
    KeMing ·Lanzhou University of Technology ·2004 ·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. The Investigation of Topology Discovery in Internet Protocol Version 6
    WuLiJi ·Inner Mongolia University ·2006 ·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. Design and Implementation of IPv6 in WebitOS
    LiPeng ·Northeastern University ·2005 ·Master's thesis
  14. The Research and Realization of Embedded Internet System Based-on IPv6 Protocol
    ZhouMing ·Wuhan University of Technology ·2005 ·Master's thesis
  15. Research and Implementation of Forwarding System in High Performance IPv6 Router
    WangHaiBin ·Tsinghua University ·2004 ·Master's thesis
  16. The Design and Implementation of Embedded IPv6 Stack
    LiXin ·Dalian University of Technology ·2005 ·Master's thesis
  17. The ICMPv6 agreement under Linux interface technology
  18. Research and Design of IPv6 Network Stack Based on ARM Processor
    XuMei ·East China Normal University ·2010 ·Master's thesis
  19. Research on Topology Discovery and Implementation of Network Management System in IPv6
    MaLiMing ·Dalian University of Technology ·2009 ·Master's thesis
  20. Design and Implementation of Embedded TCP/IPV6 Stack
    ChengJiZhong ·Hunan University ·2008 ·Master's thesis