IP Checksum in Raw Sockets

IP Checksum in Raw Sockets

Post by Kiran Madabhus » Wed, 05 Mar 2003 10:58:23



Hi,
I am using Raw sockets on Linux to genarate some dirty packets for my
testing

I included IP_HDRINCL Option saying that I am gving the IP Header
But total_length and Checksum seem to be always over-written by good
values from the kernel. How do I ask linux not to do this. The other
values are fine and are same as what I send ?

If this cannot be done, whats that other way to send my own packet
from IP level

Thanks
Kiran