diff options
Diffstat (limited to 'include/net/compat.h')
-rw-r--r-- | include/net/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |