[Click] About checksum computation ?

Bart Braem bart.braem at ua.ac.be
Mon Nov 1 04:07:19 EST 2004


Op maandag 1 november 2004 10:03, schreef u:
> Hi,
> i would like to compute checksum after modifying an ip header
> field. I have followed set_cksum method (fromtcpdump.cc), but
> i get all the time an incorrect ip header checksum. Lines of
> code that i am using are :
>
Why not use the SetIPChecksum element? That's a fine element that works 
perfectly...

Bart


More information about the click mailing list