• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef STRACE_MSGHDR_H
2 #define STRACE_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 
14 struct tcb;
15 
16 extern void
17 print_struct_msghdr(struct tcb *, const struct msghdr *,
18 		    const int *p_user_msg_namelen, kernel_ulong_t data_size);
19 
20 #endif /* !STRACE_MSGHDR_H */
21