X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fcompat.h;h=164cb682e220d3f754cee32ab6a23f27acc61656;hb=6fe1c7a5556807e9d7154a2d2fb938d8a9e47e5f;hp=406db242f73a6d8a4fecdaeff456fa08cccad26d;hpb=b7405e16435f710edfae6ba32bef4ca20d3de145;p=linux-2.6-omap-h63xx.git diff --git a/include/net/compat.h b/include/net/compat.h index 406db242f73..164cb682e22 100644 --- a/include/net/compat.h +++ b/include/net/compat.h @@ -40,4 +40,10 @@ extern int put_cmsg_compat(struct msghdr*, int, int, int, void *); extern int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *, unsigned char *, int); +extern int compat_mc_setsockopt(struct sock *, int, int, char __user *, int, + int (*)(struct sock *, int, int, char __user *, int)); +extern int compat_mc_getsockopt(struct sock *, int, int, char __user *, + int __user *, int (*)(struct sock *, int, int, char __user *, + int __user *)); + #endif /* NET_COMPAT_H */