diff options
| author | 1999-02-10 08:02:38 +0000 | |
|---|---|---|
| committer | 1999-02-10 08:02:38 +0000 | |
| commit | 1cb88d6e9d34688c0d54b70a8b309b722aef84bc (patch) | |
| tree | 466694ea9f2054d86af9a27203ec3befc990b712 /sys/compat/linux/linux_socketcall.h | |
| parent | more socket/file ioctl (diff) | |
| download | wireguard-openbsd-1cb88d6e9d34688c0d54b70a8b309b722aef84bc.tar.xz wireguard-openbsd-1cb88d6e9d34688c0d54b70a8b309b722aef84bc.zip | |
linux sendmsg/recvmsg
Diffstat (limited to 'sys/compat/linux/linux_socketcall.h')
| -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 */ |
