| With the bursting of Internet and the new concept of information consumer electronics and post-PCera, the network module of embedded system has become indispensable. The customers don't satisfy withstand-alone, which make the booming of PDAs that support to explore the Internet. The TCP/IP protocolstackisuniversallysupportedbybothPCandEmbeddedSystem.BecauseoflackTCP/IPprotocolstackinASIXOS, which lead to a restricted situation of ASIXOS, so we need to build TCP/IP protocol stack inASIXOStobuildournetworkOS.Thisessaybringsforward 4pointsbasingonthelevelstructureofTCP/IPprotocol:1. Completelycompatible withIPv42. SupportEthernetdeviceRTL8019AS3. ProvideSocketInterface4.ProvidetheDNSserviceThe aim of research is to realize TCP/IP protocol stack on serial Garfield which are based on ARMprocessors.And it provides the service for DNS in the Garfield system. Firstly, introduce the ASIXOS,Garfield platform and the structure of TCP/IP protocol stack. There are 4 levels in TCP/IP stack model.Firstly take the Network interface level in research, including the driver of RTL8019AS and PPP device.After network interface,discussesthe detailof IPprotocol,including route selectand ARPprotocol.Whilein the next step, the implementation of TCP and UDP protocol has been analyzed. Follow it, the SocketInterface, the speed of TCP/IP stack and service of DNS are tested. The last part is a summing-up of theabove studies; moreover, some problems still exist in this field, as well as the direction of furtherdevelopmentofthesubjectisalso proposed.In the program Itake partin, the BSD SocketInterface is broughtinto true,the speedofTCP/IPstackistested, andtheDNSsystemfunctionswell. |