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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to