Solved

Function - skb_copy_and_csum_datagram_iovec

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Optimize bash script 20 464
OwnCloud Development and/or customization.. 19 1,072
Problem to command 8 96
what does getent do 3 50
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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