Date: Mon, 16 Dec 2002 07:34:10 +0000 From: "soheil soheil" <soheil_hh@hotmail.com> To: freebsd-net@freebsd.org Subject: RAW_SOCK tcp checksum computing Message-ID: <F29QusPWMhiHaeldiBk0001032e@hotmail.com>
next in thread | raw e-mail | index | archive | help
Dear All I used a SOCK_RAW and IPPROTO_TCP and set the IPHDRINCL option for that socket. If we put the th_sum to 0 , does the kernel , itself , comput the tcp sum or not ? how can i make the kernel compute the cksum of the TCPHDR ? By the way , i want to know if there is any library to compute a ip_cksum and tcp_cksum of a buffer of a TCP/IP packet ? THANX _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F29QusPWMhiHaeldiBk0001032e>