diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:46:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:46:16 -0500 |
commit | dec73ff0293d59076d1fd8f4a264898ecfc457ec (patch) | |
tree | 251a87b4b98d073fcd3753e01eea5ea44aaf9570 /include | |
parent | d1d47beef8ecaeedc368f00780d02cfa5e540005 (diff) |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inet_connection_sock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index ae61331366f0..9bf73fe50948 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -331,4 +331,9 @@ extern int inet_csk_ctl_sock_create(struct socket **sock, | |||
331 | unsigned short family, | 331 | unsigned short family, |
332 | unsigned short type, | 332 | unsigned short type, |
333 | unsigned char protocol); | 333 | unsigned char protocol); |
334 | |||
335 | extern int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, | ||
336 | char __user *optval, int __user *optlen); | ||
337 | extern int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, | ||
338 | char __user *optval, int optlen); | ||
334 | #endif /* _INET_CONNECTION_SOCK_H */ | 339 | #endif /* _INET_CONNECTION_SOCK_H */ |