Dmitry V. Levin | 4b38ce9 | 2016-06-27 00:02:41 +0000 | [diff] [blame] | 1 | #ifndef MSGHDR_H_ |
| 2 | # define MSGHDR_H_ |
| 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 | 4b38ce9 | 2016-06-27 00:02:41 +0000 | [diff] [blame] | 17 | #endif /* MSGHDR_H_ */ |