内容简介
Linux如此的流行正是得益于它的特性丰富并有效的网络协议栈。如果你曾经惊叹于Linux能够实现如此复杂的工作,或者你只是想通过现实中的例子学习现代网络,《深入理解Linux网络内幕》将会给你指导。
同其他O'Reilly的流行书籍一样,《深入理解Linux网络内幕》清楚地阐述了网络的基本概念,并指导你如何用C语言实现。虽然早先的TCP/IP经验是有用的,但初学者通过本书仍然可以学习到协议本身和大量的应用信息。一旦彻底掌握了这些网络工具,你就可以使用本书所附的代码,准确地指出Linux内核中最重要的部分如何工作。
网络功能的实现或破坏在不同的时候是由不同的代码块完成的,这正是理解网络和实现它的难点中的一部分。本书的成功之一就是描述这些代码块如何集成,以及众多的函数和数据结构之间的关系。《深入理解Linux网络内幕》不仅描述了Linux网络的全貌,而且是理解Linux网络细节的有效指南。
作者Christian Benvenuti是一个专注于操作系统网络的设计者。他在书中不仅解释了Linux代码如何工作,还阐述了主要网络特性的目的以及在不同解决方案间是如何抉择的。书中还包含了大量的流程图和其他图表以帮助读者理解。
目录
Preface
PattI.GeneraIBackground
1. Introduction
2. Critical Data Structures
3. User-Space-to-Kernel Interface
PartII.Systemlnitialization
4. Notification Chains
5. Network Device Initialization
6. The PCl Layer and Network Interface Cards
7. Kernel Infrastructure for Component Initialization
8. Device Registration and Initialization
Part III. Transmission and Reception
9. Interrupts and Network Drivers
10. Frame Reception
11. Frame Transmission
12. General and Reference Material About Interrupts
13. Protocol Handlers
Part IV. Bridging
14. Bridging: Concepts
15. Bridging: The Spanning Tree Protocol
16. Bridging:tinuxlmplementation
17. Bridging: Miscellaneous Topics
Part V.Internet Protocol Version 4 (IPv4)
18. Internet Protocol Version 4 (IPv4): Concepts
19. Internet Protocol Version 4 (IPv4): tinux Foundations and Features
20. Internet Protocol Version 4 (IPv4): Forwarding and Local Delivery
21. Internet Protocol Version 4 (IPv4): Transmission
22. Internet Protocol Version 4 (IPv4): Handling Fragmentation
23. Internet Protocol Version 4 (IPv4): Miscellaneous Topics
24. Layer Four Protocol and Raw IP Handling
25. Internet Control Message Protocol (ICMPv4)
PartVI.Neighboring Subsystem
26. Neighboring Subsystem: Concepts
27. Neighboring Subsystem: Infrastructure
28. Neighboring Subsystem: Address Resolution Protocol (ARP)
29. Neighboring Subsystem: Miscellaneous lopics
Part VII. Routing
30. Routing: Concepts
31. Routing: Advanced
32. Routing:tinuxlmplementation
33. Routing: The Routing Cache
34. Routing: Routing Tables
35. Routing: tookups
36. Routing: Miscellaneous Topics
Index