[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: skbuff
Hi-
A good place to start is in Alessandro Rubini's book Linux Device
Drivers in the chapter about the snull network driver. This book is
somewhat out of date (targeted for 2.0), but the stuff on skbuffs is
pretty accurate for at least 2.2 kernels.
Paul Russell's book on the kernel API has some nice descriptions about
all of the sk_* functions found on kernelbook.sourceforge.net
Then consider taking a look at some of the simpler network device
drivers. i.e. the loopback device, dummy device. I also found the
tunneling network drivers like ip/ip helped to understand the
manipulation of skbuffs. These are in /usr/src/linux/drivers/net and
/usr/src/linux/net/ipv4 respectively.
The skbuff mechanism is excellent -- it makes it very easy to deal with
any type of network packet in terms of layering, queueing, sharing
between sockets and protocols, etc.
Good luck,
-Eric Malkowski
mohan kumar wrote:
> hi,
> im trying to see whats inside a packet that arrives.
> where can i find details about skbuff.
>
> thanx,
> Mohan S
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/
> IRC Channel: irc.openprojects.net / #kernelnewbies
> Web Page: http://www.kernelnewbies.org/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/
- Follow-Ups:
- Re: skbuff
- From: mohan kumar <mohan_knb@yahoo.com>
- References:
- skbuff
- From: mohan kumar <mohan_knb@yahoo.com>