X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnet.h;h=c136abce7ef628291325c5ce00a49a1763db6101;hb=e3d2697669abbe26c08dc9b95e2a71c634d096ed;hp=4db21e63d8d24b0b38087a3e198d6caf735bffde;hpb=81450b73dde07f473a4a7208b209b4c8b7251d90;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/net.h b/include/linux/net.h index 4db21e63d8d..c136abce7ef 100644 --- a/include/linux/net.h +++ b/include/linux/net.h @@ -23,8 +23,9 @@ struct poll_table_struct; struct inode; +struct net; -#define NPROTO 33 /* 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; };