merge newfstat variants
[trinity.git] / syscalls / send.c
blob7946440864db06a69c3988aaa476f7106659adba
1 /*
2 * SYSCALL_DEFINE4(send, int, fd, void __user *, buff, size_t, len,
3 unsigned, flags)
4 */
5 #include <sys/socket.h>
6 #include "compat.h"
7 #include "sanitise.h"
9 struct syscallentry syscall_send = {
10 .name = "send",
11 .num_args = 4,
12 .arg1name = "fd",
13 .arg1type = ARG_FD,
14 .arg2name = "buff",
15 .arg2type = ARG_ADDRESS,
16 .arg3name = "len",
17 .arg3type = ARG_LEN,
18 .arg4name = "flags",
19 .arg4type = ARG_LIST,
20 .arg4list = {
21 .num = 20,
22 .values = { MSG_OOB, MSG_PEEK, MSG_DONTROUTE, MSG_CTRUNC,
23 MSG_PROBE, MSG_TRUNC, MSG_DONTWAIT, MSG_EOR,
24 MSG_WAITALL, MSG_FIN, MSG_SYN, MSG_CONFIRM,
25 MSG_RST, MSG_ERRQUEUE, MSG_NOSIGNAL, MSG_MORE,
26 MSG_WAITFORONE, MSG_FASTOPEN, MSG_CMSG_CLOEXEC, MSG_CMSG_COMPAT,