Wireless IP Gateway TCP / IP protocol stack Research and Implementation

Author
DiHaoJie
Advisor
BaoZuoMing
School
Nanjing University of Technology and Engineering
Major
Control Theory and Control Engineering
Classification
TN925 Radio relay communications,microwave communications
Degree
Master's thesis
Year
2004
Downloads
197
Citations
3

Request the full text

Abstract

In this paper, we will discuss the design and implementation of standard TCP/IP protocol family stack, which is applied in some wireless IP gateway. After studying the theory of IP protocol, TCP protocol and Telnet protocol, we will pay more attention to the implementation of them and the packets process flow in each layer of network. As a software part of PDSN, the PSS have a special running environment and function requirements, and need a special summary design. In fact, we put forward all the details of function analysis and summary design in the paper. Additionally, there are some special technic details in the paper, such as the structure of router table and ARP table. During my writing this paper, the following work has been done:Study the theory of some protocols in TCP/IP protocol family, and introduce the corresponding implementations in detailsDiscuss the function requirements and summary design of PSS in details, as well as the next improvementDiscuss the design and implementation of Telnet module

Table of contents

1 Introduction 7-10 1.1 research 7 1.2 Project Background 7 1.3 PDSN 7-9 1.4 the main work of 9 1.5 thesis is 9-10 2 PDSN system Overview 10-14 2.1 PDSN in the network location 10-11 2.2 PDSN hardware Architecture 11-12 2.3 PDSN software composition 12-13 2.4 software operating platform and development tools 13-14 3 PSS overall design 14-24 3.1 PSS in the system location 14-15 3.2 PSS overall design 15-18 3.2.1 PSS needs analysis 15 3.2.2 Epilogue protocol stack and VxWorks 15-16 3.2.3 PSS frame design 16-17 3.2.4 PSS process that encapsulates 17 3.2.5 PSS finite state machine 17-18 3.3 PSS initialization 18-19 3.4 PSS in timer management 19-20 3.5 PSS in packet flow 20-21 3.6 ARM Core and PowerPC 755 PSS on the association 21-24 4 TCP / IP protocol suite and its implementation in the PSS 24-38 4.1 OSI seven layer network model and TCP / IP protocol suite 24-26 4.1.1 OSI seven layer network model 24 4.1.2 TCP / IP protocol suite hierarchy 24-26 4.2 TCP / IP principles and implementation overview 26-29 4.2.1 IP protocol 26-27 4.2.2 TCP protocol 27-29 <br / > 4.2.2.1 TCP state machine 27-28 4.2.2.2 TCB 28-29 4.3 TCP / IP protocol suite in the PSS implementation 29 - 38 4.3.1 packet structure packet 29-30 4.3.2 IP layer implementation 30-32 4.3.2.1 IP layer receives the module 30-31 4.3.2.2 IP layer transmission module 31-32 4.3.3 TCP layer implementation 32-38 4.3.3.1 TCP initialization 32-33 4.3.3.2 TCP sequence number 33-34 4.3.3.3 TCP receiver module 34-35 4.3.3.4 TCP sending module 35-38 5 PSS in Telnet achieve 38-55 5.1 Telnet protocol 38-41 5.1.1 Telnet Overview 38 5.1.2 Telnet protocol 38-41 5.1.2.1 network Virtual Terminal -NVT (Network Virtual Terminal) 39 5.1.2.2 Telnet control command 39-40 5.1.2.3 Telnet option negotiation 40-41 5.2 PSS Telnet module in the design and implementation 41-52 5.2.1 Telnet functionality in the system and status 41-42 5.2.2 Telnet module design 42-44 5.2.3 Telnet module 44-51 < br /> 5.2.3.1 Telnet connection control block tn_connection 44-46 5.2.3.2 Telnet finite state machine 46-47 5.2.3.3 Telnet receiving sub- module 47-49 5.2.3.4 Telnet sending sub- module 49 5.2.3.5 STY character processing sub-module 49-51 5.2.4 Telnet and OAM process interaction 51-52 5.3 an example of command processing 52-55 6 PSS in some of the issues to consider its extension 55-66 <br / > 6.1 fast considerations 55-58 6.1.1 routing table AVL tree structure 55-56 6.1.2 ARP table using the hash hash 56 -58 6.2 stability Considerations 58-60 6.2.1 memory Management 58-59 6.2.2 global array management 59 <br / > 6.2.3 functions structured design and locking 59-60 6.3 IPsec 60-62 6.3.1 IPsec background 60 <br / > 6.3.2 IPsec protocol 60-62 6.4 NAT 62-64 6.4.1 NAT background 62-63 6.4.2 NAT protocol 63-64 6.5 IPsec and NAT into consideration 64-66 6.5.1 IPsec and NAT interactions 64-65 <br / > 6.5.2 IPsec and NAT introduces impact on the system 65-66 Conclusion 66-67 Thanks 67-68 References 68

Related dissertations

  1. The Design and Development of the Router Remote Management Assistant
    LiuHongSheng ·Beijing University of Technology ·2012 ·Master's thesis
  2. The Design and Implementation of the access server remote management software
  3. The Design and Realization of Auto Configuration System in Broadband Service
    ChenLei ·Jilin University ·2006 ·Master's thesis
  4. Research of PBTS System between BBS on Telnet and SMS on GSM
    LiDaJiang ·Dalian University of Technology ·2006 ·Master's thesis
  5. Design and Implementation of Data Collection and Remote Control Based on Telnet
    WangFei ·Jilin University ·2005 ·Master's thesis
  6. Research and Design of Remote Monitoring System Based on uClinux
  7. Research and Realize the Network Manage Software Based on Script Language and Telnet Protocol
    HuangChangShan ·Tsinghua University ·2009 ·Master's thesis
  8. Design and Implementation of Network Management Software Based on the TELNET Protocol
    ChangChunYan ·Daqing Petroleum Institute ·2009 ·Master's thesis
  9. Design and implementation of the campus network management system based on the Telnet protocol
    ZhouZuo ·Zhengzhou University ·2008 ·Master's thesis
  10. Design and Implementation of QoS Configuration Management Subsystem Based on telnet Protocol
    ZuoQing ·South China University of Technology ·2011 ·Master's thesis