简体   繁体   中英

How to learn linux network stacks source code

Recently, one of my work is to write network stacks using C++ in an OS developed by my team which is totally different from linux. However, I think how a deep understanding of linux network stacks may be helpful to design and implementation a well one.

Any advice or helpful material?

W. Richard Stevens的Unix网络编程

LwIP or UIP , both originally by Adam Dunkels. Particularly LwIP - they are small, and well documented, and have been ported to embedded devices. It would take a lot of work to try and learn from BSD / Linux network stack source code.

TCP/IP Illustrated, Vol. 2: The Implementation It use FreeBSD 4.X source code as real world example.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM