Solved

Function - skb_copy_and_csum_datagram_iovec

Posted on 2004-08-22
1
309 Views
Last Modified: 2010-04-22
I am going to program a low-level network app and I need to manipulate some code in the kernel (version 2.4.18). The problem is that I traced a network function back to its roots, which ended up in an external function call ( skb_copy_and_csum_datagram_iovec ). I searched all the files in the kernel in order to find this function's place. I thought it was in usr/src/linux-2.4/include/linux/skbuff.h but there is only an "extern int" definition for this function there so I cannot trace what this function does and where it is really located.

I was looking for such a field

skb_copy_and_csum_datagram_iovec (const struct xxx, int xxx, char xxx, u32 xx)
{
x
x
x
x
x
return x; (BTW I know that it returns some value - not void - so most probably it is an int type definition)
}

so that I could see what the function is all about, but it is strangely nowhere in the source... Any pointers on where I can find this single function in the kernel's source code ?
0
Comment
Question by:Xephyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
mtmike earned 500 total points
ID: 11864054
That function is defined in "net/core/datagram.c"

http://lxr.linux.no/ident?v=2.4.18;i=skb_copy_and_csum_datagram_iovec
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question