Solved

Function - skb_copy_and_csum_datagram_iovec

Posted on 2004-08-22
1
298 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
rhel6 C system() call to zip to archive has problems 25 245
Chinese translation in RedHat 10 55
Linux Scripting 3 143
php56-php-mcrypt for rhel7 php56 1 43
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

789 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