struct page

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

 



I am coding sendpage function for socket descriptor. I am given struct page, offset and size as arguments. My question is what kernel apis are there which allows me to read from struct page ?

Talib
P.S. I am taking about "const struct proto_ops inet_stream_ops", 

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

in net/ipv4/af_inet.c file. Only that I want to write this tcp_sendpage function myself for custon stack.
_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707
--
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