Re: about the tcp_sendpage()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le Wed, 18 Apr 2007 14:00:08 +0800,
R.wen <rwen2012@xxxxxxxxx> a écrit :

> Thanks for your reply, I do know that, there is a inet_stream_ops
> structure there, and also the function sock_sendpage() here as follow.
> 
> But is there a system call that use it? Or how does the
> user-application use this function?

It's used by the need splice() system call, when you need to transfer
data to a socket.

References:
 http://lxr.free-electrons.com/source/fs/splice.c
 http://en.wikipedia.org/wiki/Splice_(system_call)

There may be other uses, but it's the only one I found by grepping
through the kernel sources.

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux