summaryrefslogtreecommitdiff
path: root/linux/syscall.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-03-11 23:59:29 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-03-11 23:59:29 +0000
commit7af9f35001af19e2844b3e9fb3c672ee696be17b (patch)
treecb72deb2c20b9d86f9603890d9665c48f01bbcda /linux/syscall.h
parent1ff463d15412de77fcf5b8ca1cf43c63dce1dbe1 (diff)
downloadstrace-7af9f35001af19e2844b3e9fb3c672ee696be17b.tar.gz
Implement sendmmsg syscall decoder
* linux/dummy.h (sys_sendmmsg): Remove. * linux/syscall.h (sys_sendmmsg): New prototype. * net.c (printmmsghdr): Add index argument specifying the element in mmsghdr array to print. (decode_mmsg): New function, prints the whole mmsghdr array, its length and message flags. (sys_sendmmsg): New function. (sys_recvmmsg): Use decode_mmsg to fix mmsghdr array decoding.
Diffstat (limited to 'linux/syscall.h')
-rw-r--r--linux/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/syscall.h b/linux/syscall.h
index f5b0ef6a3..180397039 100644
--- a/linux/syscall.h
+++ b/linux/syscall.h
@@ -220,6 +220,7 @@ int sys_semtimedop();
int sys_send();
int sys_sendfile();
int sys_sendfile64();
+int sys_sendmmsg();
int sys_sendmsg();
int sys_sendto();
int sys_set_mempolicy();