[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with kernel modules



> Hello Sandeep,
> I changed printk to

>printk(KERN_DEBUG "ICMP cksum=%d,& IP
>cksum=%d\n",(unsigned short
>)sb->h.icmph->checksum,(unsigned short
>)sb->nh.iph->check);

>but still getting errors. does that mean accessing
>directly in skbuff is not allowed?

Just include "linux/icmp.h" and it should compile.

- Arvind.

>regards,
>cranium.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/