Date: Fri, 26 May 2006 15:40:06 -0500 From: "Amit Mondal" <amit.freebsd@gmail.com> To: freebsd-net@freebsd.org Subject: TCP checksum Message-ID: <a6cf19a10605261340i33e59d9aja8abab02ffacaa73@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, Could anyone pls tell me the function freebsd provides for calculating TCP checksum. What I am doing, I am sniffing packet using divert packet and changing the destination address of the packet. Now, since TCP checksum calculation include Pseudo head (src dest IP ....) I need to recalculate TCP checksum. Is there any way to recalculate the checksum incrementally. Thanks in advance. Rgds -Amit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6cf19a10605261340i33e59d9aja8abab02ffacaa73>