blob: 41dfd8cae46a6fbdb31e1ed84daf350006a4c1d2 [file] [log] [blame]
Eugene Syromyatnikov18907922016-08-07 06:44:19 +03001#ifndef STRACE_MSGHDR_H
2#define STRACE_MSGHDR_H
Dmitry V. Levin4b38ce92016-06-27 00:02:41 +00003
4/* For definitions of struct msghdr and struct mmsghdr. */
5# include <sys/socket.h>
6
7# ifndef HAVE_STRUCT_MMSGHDR
8struct mmsghdr {
9 struct msghdr msg_hdr;
10 unsigned msg_len;
11};
12# endif
13
Dmitry V. Levin7c37ce42016-07-14 22:13:58 +000014struct tcb;
15extern void print_struct_msghdr(struct tcb *, const struct msghdr *, const int *, unsigned long);
16
Dmitry V. Levin42ceb0f2016-08-07 22:02:46 +000017#endif /* !STRACE_MSGHDR_H */