Solved

Function - skb_copy_and_csum_datagram_iovec

Posted on 2004-08-22
1
287 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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 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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now