]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/inet_common.h
sysctl: Infrastructure for per namespace sysctls
[linux-2.6-omap-h63xx.git] / include / net / inet_common.h
index f943306ce5ff3104092f604ed4d23c5c93de9855..38d5a1e9980da3a09f6e6f2c96122bbedf7cc21f 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _INET_COMMON_H
 #define _INET_COMMON_H
 
-extern struct proto_ops                inet_stream_ops;
-extern struct proto_ops                inet_dgram_ops;
+extern const struct proto_ops          inet_stream_ops;
+extern const struct proto_ops          inet_dgram_ops;
 
 /*
  *     INET4 prototypes used by INET6
@@ -13,9 +13,6 @@ struct sock;
 struct sockaddr;
 struct socket;
 
-extern void                    inet_remove_sock(struct sock *sk1);
-extern void                    inet_put_sock(unsigned short num, 
-                                             struct sock *sk);
 extern int                     inet_release(struct socket *sock);
 extern int                     inet_stream_connect(struct socket *sock,
                                                    struct sockaddr * uaddr,
@@ -30,7 +27,6 @@ extern int                    inet_sendmsg(struct kiocb *iocb,
                                             struct msghdr *msg, 
                                             size_t size);
 extern int                     inet_shutdown(struct socket *sock, int how);
-extern unsigned int            inet_poll(struct file * file, struct socket *sock, struct poll_table_struct *wait);
 extern int                     inet_listen(struct socket *sock, int backlog);
 
 extern void                    inet_sock_destruct(struct sock *sk);