LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2006, 01:16 AM   #1
omkarlagu
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 1
inet_sendpage


hello everybody,

do anyone has an idea how to use inet_sendpage in kernel ...
and what to values should be passed ..

inet_sendpage(struct socket *sock, struct page *page, int offset, size_t size, int flags)

i have passed values to parameters as :::socks->ops->sendpage(socks,page,0,4096,1);

and the return value is -95 that means sendpage was unsuccesful


omkarlagu@yahoo.com
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration