[Click] About checksum computation ?

yacine.djemaiel yacine.djemaiel at laposte.net
Mon Nov 1 04:33:15 EST 2004


I need to compute checksum only for some packets selected and
not for all traffic. If, i have not found a solution, i will
use this element.

Thanks Bart for your help


> 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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)






More information about the click mailing list