[ICSK] compat: Introduce inet_csk_compat_[gs]etsockopt
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d1d47beef8
commit
dec73ff029
@@ -331,4 +331,9 @@ extern int inet_csk_ctl_sock_create(struct socket **sock,
|
||||
unsigned short family,
|
||||
unsigned short type,
|
||||
unsigned char protocol);
|
||||
|
||||
extern int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname,
|
||||
char __user *optval, int __user *optlen);
|
||||
extern int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname,
|
||||
char __user *optval, int optlen);
|
||||
#endif /* _INET_CONNECTION_SOCK_H */
|
||||
|
Reference in New Issue
Block a user