Friday, March 23, 2007

(mis)adventures with networking code

These days i dived into networking subsystem in the linux kernel and studied the networking subsystem.I must say it was one hell of a roller coaster ride :).

Code is elegant and a little on the higher side of intellect.

Some hacks have been wonderfully pulled especially by Alan Cox and Dave Miller :).
A very good example i found was skb_sh_info structure. Have a look at it.

Just for beginners
kernel networking subsystem code is located at
net/*
and network driver code can be found in
drivers/net/*
apart from this rest all headers can be found at standard place like inclue/linux/ and include/linux/net/ etc.

Still i am more than blank. Hoping to get some real insight into networing subsystem. But i must confess, this is fun :) and am loving each and every part of it.

Adios

No comments: