BibTeX
@MISC{_ii.the,
author = {},
title = {II. THE STRUCTURE OF THE LINUX TCP/IP PROTOCOL},
year = {}
}
OpenURL
Abstract
wide range of hardware, etc. It is popular because of its open source code and free available applications. The kernel of Linux supports a lot of CPU platforms, and it is a real multitask OS that provides virtual memory protection, demand loading and powerful network function. The network function is a very important part of the Linux kernel. More then 30 % of the Web server on the Internet are constructed on Linux. The network function of Linux has the following characteristics: it provides BSD SOCKET interface for user applications, it supports network protocols such as IP, IPX, AppleTalk, X.25 etc, it supports a lot of low layer protocols such as Ethernet, token ring, FDDI, Frame Relay and ATM, it supplies device drivers for almost all the Ethernet network controllers, and it has rich IP functions such as IP filtering, IP masquerading, IP alias, and IP accounting. There are lots of documents introducing and analyzing the Linux kernel such as [4], [10], but the deep analysis of the TCP/IP protocol of Linux is still not available. This paper mainly focuses on the analysis and evaluation of the TCP/IP protocol stack of Linux. In the second part, the structure of the TCP/IP protocol is analyzed with the focus on the general architecture of the protocol stack, the buffer management, the initialization of the protocol stack, the procedure of sending and receiving data, and the interaction with the operation system. The probing method and the design of the probing node are described in the third part. The TCP/IP protocol stack is tested and analyzed in the fourth part, mainly focus on the throughput of the stack, the time cost of each layer, and the queuing of the IP layer. We conclude the paper and describe the future work in the fifth part. The version of Linux kernel we use in the experiments is 2.0.34.
Keyphrases
linux kernel linux tcp ip protocol protocol stack tcp ip protocol network function second part fifth part tcp ip future work third part powerful network function wide range device driver deep analysis ip accounting ethernet network controller token ring tcp ip protocol stack free available application ip masquerading probing node ip filtering rich ip function general architecture virtual memory protection ip layer web server cpu platform operation system demand loading bsd socket interface following characteristic network protocol frame relay user application fourth part low layer protocol open source code important part buffer management ip alias time cost real multitask o