blob: 41a07d70f04570640fc80ad8a817b7d7e317c0a1 [file] [log] [blame]
Dmitry V. Levin4b38ce92016-06-27 00:02:41 +00001#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
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. Levin4b38ce92016-06-27 00:02:41 +000017#endif /* MSGHDR_H_ */