]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/net.h
xen: fix incorrect vcpu_register_vcpu_info hypercall argument
[linux-2.6-omap-h63xx.git] / include / linux / net.h
index f28d8a2e2c917ee862de2abd1144784a1c82a18a..c136abce7ef628291325c5ce00a49a1763db6101 100644 (file)
@@ -23,8 +23,9 @@
 
 struct poll_table_struct;
 struct inode;
+struct net;
 
-#define NPROTO         32              /* should be enough for now..   */
+#define NPROTO         34              /* should be enough for now..   */
 
 #define SYS_SOCKET     1               /* sys_socket(2)                */
 #define SYS_BIND       2               /* sys_bind(2)                  */
@@ -169,7 +170,7 @@ struct proto_ops {
 
 struct net_proto_family {
        int             family;
-       int             (*create)(struct socket *sock, int protocol);
+       int             (*create)(struct net *net, struct socket *sock, int protocol);
        struct module   *owner;
 };