aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/net.h')
-rw-r--r--include/linux/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index caeb159abda5..91216b16feb7 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -147,7 +147,7 @@ struct proto_ops {
147 int (*getname) (struct socket *sock, 147 int (*getname) (struct socket *sock,
148 struct sockaddr *addr, 148 struct sockaddr *addr,
149 int *sockaddr_len, int peer); 149 int *sockaddr_len, int peer);
150 unsigned int (*poll) (struct file *file, struct socket *sock, 150 __poll_t (*poll) (struct file *file, struct socket *sock,
151 struct poll_table_struct *wait); 151 struct poll_table_struct *wait);
152 int (*ioctl) (struct socket *sock, unsigned int cmd, 152 int (*ioctl) (struct socket *sock, unsigned int cmd,
153 unsigned long arg); 153 unsigned long arg);
@@ -306,7 +306,6 @@ int kernel_sendpage(struct socket *sock, struct page *page, int offset,
306 size_t size, int flags); 306 size_t size, int flags);
307int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset, 307int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset,
308 size_t size, int flags); 308 size_t size, int flags);
309int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg);
310int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how); 309int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);
311 310
312/* Routine returns the IP overhead imposed by a (caller-protected) socket. */ 311/* Routine returns the IP overhead imposed by a (caller-protected) socket. */