LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2008, 02:13 PM   #1
ravikukmar.nie
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 03-24-2011, 01:11 PM   #2
kalloc
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Rep: Reputation: 0
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 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X hangs after prolonged usage ... memory usage goes upto 195MB duryodhan Slackware 18 05-10-2007 06:16 PM
Memory Usage Spaw Usage Swappiness Issues joelunch Linux - Software 3 01-04-2006 06:16 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration