On Mon, May 24, 2004 at 05:42:13AM +0100, gireesh babu wrote: > > hello, > > I am doing a project to display the format of the data > in the different layers ( application, transport & > data link) , I like to do it as a kernel module. > Can I get help to do that? > I am not sure if a module is the right way to go, it depends on what you are trying to achieve. If you want to collect the data and then make it available via proc or something similar then a module will work. If you want to print all headers to /var/log/messages and such its just adding printk in the right place (and probably a sysctl interface for enabling/disabling the feature). A good starting point for modules is the book Linux Device Drivers, 2nd Edition available also online in PDF format at: http://www.xml.com/ldd/chapter/book/ You can find some free books on the linux kernel (mostly 2.4, don't know about 2.6) and linux device drivers (modules) among other things also at: http://www.tcfb.com/freetechbooks/booklinuxdev.html http://www.tldp.org/guides.html > gireesh > ggireeshbabu@yahoo.co.in > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/ > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/