Re: Problem with kernel modules

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

 



Hello arvind,
        Thanks. I did a silly mistake.
regards,
cranium.

>> 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.


__________________________________________________
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux