patch-2.3.15 linux/include/net/inet_common.h

Next file: linux/include/net/ip.h
Previous file: linux/include/net/if_inet6.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/include/net/inet_common.h linux/include/net/inet_common.h
@@ -11,8 +11,7 @@
 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, 
-					     struct socket *peer);
+extern int			inet_release(struct socket *sock);
 extern int			inet_stream_connect(struct socket *sock,
 						    struct sockaddr * uaddr,
 						    int addr_len, int flags);
@@ -39,6 +38,10 @@
 					   unsigned int cmd, 
 					   unsigned long arg);
 extern int			inet_listen(struct socket *sock, int backlog);
+
+extern void			inet_sock_release(struct sock *sk);
+extern void			inet_sock_destruct(struct sock *sk);
+extern atomic_t			inet_sock_nr;
 
 #endif
 

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