Solved

Function - skb_copy_and_csum_datagram_iovec

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
Linux Server is saturating the IP table.. 14 375
Avoiding pop-up when starting a linux scrip/shell 5 112
Problem to line 1 63
generating rpm using noarch parameter 1 47
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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