TCP/IP Architecture, Design and Implementation in Linux and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.47 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading TCP/IP Architecture, Design and Implementation in Linux on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

TCP/IP Architecture, Design and Implementation in Linux [Hardcover]

by Sameer Seth, M. Ajaykumar Venkatesulu
3.7 out of 5 stars  See all reviews (3 customer reviews)

List Price: $126.00
Price: $88.26 & FREE Shipping. Details
You Save: $37.74 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $83.85  
Hardcover $88.26  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more

Book Description

December 10, 2008 0470147733 978-0470147733
This book provides thorough knowledge of Linux TCP/IP stack and kernel framework for its network stack, including complete knowledge of design and implementation. Starting with simple client-server socket programs and progressing to complex design and implementation of TCP/IP protocol in linux, this book provides different aspects of socket programming and major TCP/IP related algorithms. In addition, the text features netfilter hook framework, a complete explanation of routing sub-system, IP QOS implementation, and Network Soft IRQ. This book further contains elements on TCP state machine implementation,TCP timer implementation on Linux, TCP memory management on Linux, and debugging TCP/IP stack using lcrash

Frequently Bought Together

TCP/IP Architecture, Design and Implementation in Linux + Understanding the Linux Kernel, Third Edition
Price for both: $121.57

Buy the selected items together

Editorial Reviews

From the Back Cover

The only single-source reference on the concept and implementation of TCP/IP in Linux

As open source software becomes a trusted part of business and research systems, it's no wonder that a combination of the Transmission Control Protocol/Internet Protocol (TCP/IP) and the Linux operating system is becoming more common. TCP/IP's prevalence allows easy communication among computers using various operating systems, whether Windows, Mac OS, Linux, or Unix. And Linux—because it is open source and thus modifiable—has become a frequent choice for developers who want a customizable operating system on which to build their applications.

This book describes the design and implementation of TCP/IP in Linux, from simple client-server applications to more complex executions. Topical coverage includes:

  • Basic socket concepts and implementations

  • The Linux implementation of network packets

  • TCP read/write

  • TCP algorithms for data transmission and congestion control

  • TCP timers

  • IP layer and routing tables implementation

  • IP forwarding and quality of service implementation

  • Netfilter hooks for the stacks

  • Network Soft IRQ

  • How to debug a TCP/IP stack

All topics are discussed in a concise, step-by-step manner and the book is complemented with helpful illustrations to give readers a better understanding of the subject. TCP/IP Architecture, Design, and Implementation in Linux is an indispensable resource for embedded-network product developers, network security product developers, IT network architects, researchers, and graduate students.

About the Author

Sameer Seth works at Juniper Networks as Senior Staff Engineer for JUNOS Kernel Team. Previously, he was a senior engineer at Sun Microsystems, where he worked on the TCP/IP stack in Solaris, sockets, streams, NFS, and related kernel framework. He has ten years of experience working with Linux in research and commercial environments. He has also worked on embedded TCP/IP Linux stack as well as on X86 architectures. Additionally, he has worked on different communication protocols on Motorola MPC8260 processors. His community work includes blogging for opensolaris technology ( and he delivers technical talks on open solaris technology. In his spare time he enjoys writing and talking on technical topics related to networking and Unix.

M. Ajaykumar Venkatesulu is currently working on networking and naming services. He has seven years of experience with Linux networking and kernel in research and commercial environments. His areas of interest include Linux kernel, embedded systems, IP routing, and IP QoS.

Product Details

  • Hardcover: 772 pages
  • Publisher: Wiley-IEEE Computer Society Pr (December 10, 2008)
  • Language: English
  • ISBN-10: 0470147733
  • ISBN-13: 978-0470147733
  • Product Dimensions: 10 x 7.1 x 1.6 inches
  • Shipping Weight: 3.5 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Best Sellers Rank: #1,544,803 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

3.7 out of 5 stars
3.7 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
13 of 13 people found the following review helpful
3.0 out of 5 stars Useful, though not as good as I hoped January 30, 2009
This book is useful if you want to better understand Linux _TCP_ internals (i.e. not just IP). There are several good books describing Linux networking internals for link-layer, IP, routing, neighbouring etc. - but no books of the same quality for TCP and UDP yet.

There are two main problems with the book:
- it is written for 2.4 kernels only (no 2.6)
- there is a huge number of typos, stylistic and grammatical errors

Even though the authors write in the preface: "The newest kernel version 2.6 does not have much variation as far as the TCP/IP stack is considered", this is only partially true. Most important algorithms are the same, but there were many new features; structures layout is rather different (they changed it several times even in 2.6 kernels).

For a description of Linux networking internals not related to TCP I would rather recommend "Understanding Linux Network Internals" by Christian Benvenuti.

The book provides nice descriptions of TCP algorithms - both generic and Linux-specific. For example, if you want to understand the management of synqueue/acceptqueue (what does it mean that connection is 'young'?), the book provides a very detailed and easy to understand description. The same is true for timers management, core processing and state machine.

The chapter about debugging is rather outdated - it describes LKCD/lcrash environment but all new kernels have kexec/kdump facility and 'crash' is the preferred debugger for those vmcores. Maybe 2.4 kernels and lkcd are still relevant for embedded Linux (2.4 has a smaller memory footprint), I am mainly interested in normal systems.

So this book is the best we have for Linux TCP internals at this moment. The authors promise to update the description for 2.6 kernels in the next edition. Hopefully typos/errors will be fixed either and then the book would be highly recommended.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
I've been several months eager to have a book describing the TCP/IP stack details and especially the interactions between the protocol stack and the socket system calls, especially having no response from the Linux networking kernel development communities (I don't criticize them but it is the fact that the kernel coders are busy with making new patches rather than helping others to understand the existing things). Therefore i ordered this book even without having seen any preliminary user comments on the Amazon web site.

The most attractive feature of the book is that the authors, attempting to share their understandings to the users, carefully organized topics with a natural logic that a kernel newbie is easy to follow. For example, there are several data structures regarding the TCP bind sockets but the source codes themselves are written in a quite confusing and inconsistent way, making it very hard to extract the role and usage of each of the structures. The authors list them all first and then dive into each with conceptual diagrams for the big picture of the data structure organizations. A typical fashion of discussion is applied throughout most of the topics, starting from the involved data structures as well as their organizations, and then walking through how the system calls interact with the protocol stack functions in manipulating these structures. It is clear that the authors are really experienced in modifying/customizing the Linux networking kernel.

The most unacceptable drawback of the book is, as another reviewer ever stated, the book contains a lot of typo and format errors. Because of them, the book looks like a rush result. Hope the revision will make out an elegant work.
Read more ›
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
3.0 out of 5 stars Disappointed November 19, 2010
Format:Hardcover|Verified Purchase
I an disappointed. As pointed out by others it deals only with Linux 2.4, and yet, when the book was released in 2008 Linux 2.6.25 or thereabouts had already been released.

I am also disappointed at the numerous grammatical mistakes. It would appear that there was no editorial input to convert the English into correct English and I find that I am constantly having to add missing articles or translate into correct English, which detracts from the reading experience.

However, I will persist with reading the book and compare it to the Linux 2.6 source code as currently available to ensure I understand.
Comment | 
Was this review helpful to you?
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category