OSDN Git Service

net: Add compat ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT
[uclinux-h8/linux.git] / include / net / sock.h
index d884d26..bc1cf7d 100644 (file)
@@ -753,6 +753,8 @@ struct proto {
                                        int level,
                                        int optname, char __user *optval,
                                        int __user *option);
+       int                     (*compat_ioctl)(struct sock *sk,
+                                       unsigned int cmd, unsigned long arg);
 #endif
        int                     (*sendmsg)(struct kiocb *iocb, struct sock *sk,
                                           struct msghdr *msg, size_t len);