Re: Ethernet Checksum

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

 



On Tue, 14 Feb 2006, mohanlal jangir wrote:

> > I am reading a socket using SOCK_PACKET, the
> > driver strips off the checksum from the packet ,
> If driver is stripping off and not implementing CHECKSUM_HW, I think you 
> can't get it. Some drivers implements CHECKSUM_HW and store the checksum in 
> skb->csum before stripping. I am not sure if you can get that in user space.

> By the way, why you want to read this checksum in user space. This checksum 
> is frame checksum and ensures packet has not been corrupted between 
> transmission and reception. And that has been varified.

Sorry Guys the driver gives checksum to the user
space, i just needed the checksum for my testing
purpose :-)

Bye,
-- Krishna P



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