Re: [LIP] tcp checksum calculation

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

 



On Thu, 14 Feb 2002, Amit Shah wrote:

> Hi,
>    I have a function(in the kernel, ip_rcv_finish... before the ip
> forwarding code.) that takes in packets, replaces the dest. ip:port, and
> sends to that machine. (ip forwarding is enabled.) I need to recalculate
> the checksum..... ip checksumming works fine(ip_fast_csum)... but, the tcp
> checksum is shown as incorrect on ethereal. The packets are not delivered
> to the new dest.... 

Put in you code snippet for us to have a look at.
Have you tried looking at the packet thru other protocol analyzers just to 
be sure?

-- 
The statement below is true.
The statement above is false.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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