Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
compat.h File Reference

Go to the source code of this file.

Macros

#define compat_msghdr   msghdr
 
#define compat_mmsghdr   mmsghdr
 

Functions

int get_compat_msghdr (struct msghdr *, struct compat_msghdr __user *)
 
int verify_compat_iovec (struct msghdr *, struct iovec *, struct sockaddr_storage *, int)
 
asmlinkage long compat_sys_sendmsg (int, struct compat_msghdr __user *, unsigned int)
 
asmlinkage long compat_sys_sendmmsg (int, struct compat_mmsghdr __user *, unsigned int, unsigned int)
 
asmlinkage long compat_sys_recvmsg (int, struct compat_msghdr __user *, unsigned int)
 
asmlinkage long compat_sys_recvmmsg (int, struct compat_mmsghdr __user *, unsigned int, unsigned int, struct compat_timespec __user *)
 
asmlinkage long compat_sys_getsockopt (int, int, int, char __user *, int __user *)
 
int put_cmsg_compat (struct msghdr *, int, int, int, void *)
 
int cmsghdr_from_user_compat_to_kern (struct msghdr *, struct sock *, unsigned char *, int)
 
int compat_mc_setsockopt (struct sock *, int, int, char __user *, unsigned int, int(*)(struct sock *, int, int, char __user *, unsigned int))
 
int compat_mc_getsockopt (struct sock *, int, int, char __user *, int __user *, int(*)(struct sock *, int, int, char __user *, int __user *))
 

Macro Definition Documentation

#define compat_mmsghdr   mmsghdr

Definition at line 40 of file compat.h.

#define compat_msghdr   msghdr

Definition at line 39 of file compat.h.

Function Documentation

int cmsghdr_from_user_compat_to_kern ( struct msghdr ,
struct sock ,
unsigned char ,
int   
)

Definition at line 142 of file compat.c.

int compat_mc_getsockopt ( struct sock ,
int  ,
int  ,
char __user ,
int __user ,
int(*)(struct sock *, int, int, char __user *, int __user *)   
)

Definition at line 646 of file compat.c.

int compat_mc_setsockopt ( struct sock ,
int  ,
int  ,
char __user ,
unsigned  int,
int(*)(struct sock *, int, int, char __user *, unsigned int  
)

Definition at line 559 of file compat.c.

asmlinkage long compat_sys_getsockopt ( int  ,
int  ,
int  ,
char __user ,
int __user  
)

Definition at line 504 of file compat.c.

asmlinkage long compat_sys_recvmmsg ( int  ,
struct compat_mmsghdr __user ,
unsigned  int,
unsigned  int,
struct compat_timespec __user  
)

Definition at line 764 of file compat.c.

asmlinkage long compat_sys_recvmsg ( int  ,
struct compat_msghdr __user ,
unsigned  int 
)

Definition at line 747 of file compat.c.

asmlinkage long compat_sys_sendmmsg ( int  ,
struct compat_mmsghdr __user ,
unsigned  int,
unsigned  int 
)

Definition at line 740 of file compat.c.

asmlinkage long compat_sys_sendmsg ( int  ,
struct compat_msghdr __user ,
unsigned  int 
)

Definition at line 735 of file compat.c.

int get_compat_msghdr ( struct msghdr ,
struct compat_msghdr __user  
)

Definition at line 61 of file compat.c.

int put_cmsg_compat ( struct msghdr ,
int  ,
int  ,
int  ,
void  
)

Definition at line 220 of file compat.c.

int verify_compat_iovec ( struct msghdr ,
struct iovec ,
struct sockaddr_storage ,
int   
)

Definition at line 81 of file compat.c.