Reputation: 67
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?
Upvotes: 2
Views: 1538
Reputation: 44
TCP/IP Illustrated, Vol. 2: The Implementation It use FreeBSD 4.X source code as real world example.
Upvotes: 0
Reputation: 22328
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.
Upvotes: 3