|
@@ -532,6 +532,7 @@ struct proto {
|
|
|
int (*getsockopt)(struct sock *sk, int level,
|
|
|
int optname, char __user *optval,
|
|
|
int __user *option);
|
|
|
+#ifdef CONFIG_COMPAT
|
|
|
int (*compat_setsockopt)(struct sock *sk,
|
|
|
int level,
|
|
|
int optname, char __user *optval,
|
|
@@ -540,6 +541,7 @@ struct proto {
|
|
|
int level,
|
|
|
int optname, char __user *optval,
|
|
|
int __user *option);
|
|
|
+#endif
|
|
|
int (*sendmsg)(struct kiocb *iocb, struct sock *sk,
|
|
|
struct msghdr *msg, size_t len);
|
|
|
int (*recvmsg)(struct kiocb *iocb, struct sock *sk,
|