Eugene Syromyatnikov | 1890792 | 2016-08-07 06:44:19 +0300 | [diff] [blame] | 1 | #ifndef STRACE_MSGHDR_H |
| 2 | #define STRACE_MSGHDR_H |
Dmitry V. Levin | 4b38ce9 | 2016-06-27 00:02:41 +0000 | [diff] [blame] | 3 | |
| 4 | /* For definitions of struct msghdr and struct mmsghdr. */ |
| 5 | # include <sys/socket.h> |
| 6 | |
| 7 | # ifndef HAVE_STRUCT_MMSGHDR |
| 8 | struct mmsghdr { |
| 9 | struct msghdr msg_hdr; |
| 10 | unsigned msg_len; |
| 11 | }; |
| 12 | # endif |
| 13 | |
Dmitry V. Levin | 7c37ce4 | 2016-07-14 22:13:58 +0000 | [diff] [blame] | 14 | struct tcb; |
| 15 | extern void print_struct_msghdr(struct tcb *, const struct msghdr *, const int *, unsigned long); |
| 16 | |
Dmitry V. Levin | 42ceb0f | 2016-08-07 22:02:46 +0000 | [diff] [blame] | 17 | #endif /* !STRACE_MSGHDR_H */ |