checksums calculated by libnet

[email protected] Thu, 24 Jun 2004 19:53:22 +0530
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>



Hi,

   suppose i set the checksum field to 0 in libnet_build_tcp and also 0 in
libnet_build_ipv4. now i call libnet_build_tcp first and then i call libnet
build ipv4, here is the checksum calculated properly, i ask this because
when libnet_build_tcp is called it does not have the pseudo header and
hence cant calculate the checksum properly , so does it wait and adds the
checksum just before doing a write for all protocols ??

thanks
Amit
"DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain  privileged or confidential information and
should not be circulated or used for any purpose other than for what it is
intended. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. HSS accepts no responsibility for
loss or damage arising from the use of the information transmitted by this
email including damage from virus."