Re: Netfilter and Raw packet data

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

 



Gratuitisly replying to my own message...

JHolder said:
[SNIP]
> Currently however, in my testing, the length provided by (*pskb)->len is
> only just big enough to hold the headers, and furthermore, the lengths
> embedded in the IP headers and UDP headers report the same numbers.

Chalk this up to being easily confused by a flood of data.

The packet sizes happened to be awfully close to standard header sizes,
and I just wasn't thinking.  Everything checks out with the header sizes. 
And with a little adjustment to the code I was using to parse some of the
packet data, I am now seeing everything I expect to.

Hopefully no one tried to reply yet.

Thanks,
John



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