diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:02:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:02:39 +0000 |
commit | 62eda4da35a809978f6c57cd987aff2f88268af5 (patch) | |
tree | d1a8dab100bcd46dd099178cbff96d7d6caaff0e /sys/compat | |
parent | ea75a9c2deea8dddb106b8020d6f98e2900ce38b (diff) |
linux sendmsg/recvmsg
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_socketcall.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socketcall.h b/sys/compat/linux/linux_socketcall.h index 70cb3680ce6..61c69c27676 100644 --- a/sys/compat/linux/linux_socketcall.h +++ b/sys/compat/linux/linux_socketcall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socketcall.h,v 1.2 1996/04/17 05:24:03 mickey Exp $ */ +/* $OpenBSD: linux_socketcall.h,v 1.3 1999/02/10 08:02:38 deraadt Exp $ */ /* $NetBSD: linux_socketcall.h,v 1.1 1995/02/28 23:26:05 fvdl Exp $ */ /* @@ -54,6 +54,8 @@ #define LINUX_SYS_shutdown 13 #define LINUX_SYS_setsockopt 14 #define LINUX_SYS_getsockopt 15 +#define LINUX_SYS_sendmsg 16 +#define LINUX_SYS_recvmsg 17 /* * Structures for the arguments of the different system calls. This looks @@ -160,4 +162,16 @@ struct linux_setsockopt_args { int optlen; }; +struct linux_sendmsg_args { + int s; + struct msghdr *msg; + int flags; +}; + +struct linux_recvmsg_args { + int s; + struct msghdr *msg; + int flags; +}; + #endif /* _LINUX_SOCKETCALL_H */ |