views:

36

answers:

2

I want to know how a network packet travels through different layers i.e. from physical layer to presentation layer in Linux systems. I want very detailed article or book on this topic with codes in C. I tried to Google it but unable to find. Any other type of guidance is welcomed. Kindly help. Thanks in advance.

+4  A: 

linux networking stack and Linux network stack walkthrough

Google has even more if you want it. Google up "linux network stack"

jay.lee
Thanks buddy, It helped.
No problemo, my good fellow
jay.lee
+2  A: 

If you're really serious one of the standard references is TCP/IP Illustrated by W. Richard Stevens. The first volume walks through the protocols from Ethernet up to TCP and a few application layer protocols. This show how the bits are supposed are moved around and interpreted. Volume 2 goes through a BSD implementation. If you want an in-depth understanding Stevens is the way to go.

Paul Rubel
Thanks a lot. This is the exact thing what I wanted.