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

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

diff -u --recursive --new-file v2.1.30/linux/include/linux/net.h linux/include/linux/net.h
@@ -130,6 +130,7 @@
 extern int	sock_register(struct net_proto_family *fam);
 extern int	sock_unregister(int family);
 extern struct socket *sock_alloc(void);
+extern int	sock_create(int family, int type, int proto, struct socket **);
 extern void	sock_release(struct socket *);
 extern int   	sock_sendmsg(struct socket *, struct msghdr *m, int len);
 extern int	sock_recvmsg(struct socket *, struct msghdr *m, int len, int flags);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov