LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   usage of csum_partial (https://www.linuxquestions.org/questions/linux-newbie-8/usage-of-csum_partial-633988/)

ravikukmar.nie 04-08-2008 03:13 PM

usage of csum_partial
 
i am working on stun libraries ..

i am adding some data to the packet passsing through using skb->put..

i need to recalculate the check sum ..

how can i do that??


regards
ravikumar

kalloc 03-24-2011 02:11 PM

tcp checksum
 
Hi ravi, and others,

could you finally solve the issue. i am also getting stuck at the same issue. can you please guide on this.

checksum_sk_help()
csum_partial()
csum_tcpudp_magic()
nothing seems to work directly and correctly for me.
can any one please throw some light, i m using 2.6.35 kernel version

Quote:

Originally Posted by ravikukmar.nie (Post 3114912)
i am working on stun libraries ..

i am adding some data to the packet passsing through using skb->put..

i need to recalculate the check sum ..

how can i do that??


regards
ravikumar



All times are GMT -5. The time now is 07:02 PM.