Introductory Notes

The Networking code in kernel is organised into three layers.
1. Socket Layer : It is a protocol Independent Interface to the protocol dependent layer below.
2. Protocol Layer : It contains the implementation of protocol famalies (Tcp,Xns,Unix Domain).
3. Interface Layer : It contain the device drivers that communicate with the network devices.






Kernel Data Structure after call to Socket.



Data Flow in the Communication using UDP

Memory buffers
1. Output Processing 
         a. Prepending IP and UDP headers.
         b. IP output
         c. Ethernet output
2. Input processing
        a.Ethernet Input
        b.Ip Input
        c.UDP Input
        d.Process Input