From e6c2a144998e709b3f2616b319cc0ee4c3d5dcfd Mon Sep 17 00:00:00 2001 From: zhaolei Date: Thu, 23 Aug 2007 01:46:33 +0000 Subject: 2007-08-21 Zhaolei * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE (used in send, sendto, sendmsg and compat_sys_sendmsg). Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str. --- tapset/aux_syscalls.stp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 808c3503..3fb65c1c 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1094,13 +1094,14 @@ function _wait4_opt_str(f) { } /* `man sendmsg` for more information */ -function _send_flags_str(f) { +function _sendflags_str(f) { if(f & 0x0001) bs="MSG_OOB|".bs if(f & 0x0080) bs="MSG_EOR|".bs if(f & 0x0004) bs="MSG_DONTROUTE|".bs if(f & 0x0040) bs="MSG_DONTWAIT|".bs if(f & 0x4000) bs="MSG_NOSIGNAL|".bs if(f & 0x0800) bs="MSG_CONFIRM|".bs + if(f & 0x8000) bs="MSG_MORE|".bs return substr(bs,0,strlen(bs)-1) } -- cgit