patch-2.4.4 linux/include/linux/net.h

Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/nbd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/linux/net.h linux/include/linux/net.h
@@ -82,6 +82,7 @@
 
 struct scm_cookie;
 struct vm_area_struct;
+struct page;
 
 struct proto_ops {
   int	family;
@@ -108,6 +109,7 @@
   int   (*sendmsg)	(struct socket *sock, struct msghdr *m, int total_len, struct scm_cookie *scm);
   int   (*recvmsg)	(struct socket *sock, struct msghdr *m, int total_len, int flags, struct scm_cookie *scm);
   int	(*mmap)		(struct file *file, struct socket *sock, struct vm_area_struct * vma);
+  ssize_t (*sendpage)	(struct socket *sock, struct page *page, int offset, size_t size, int flags);
 };
 
 struct net_proto_family 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)