huangcm
2025-07-01 2af87f2bbd5ba07d377b5a7f0ee0e96053f2d424
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef STRACE_MSGHDR_H
#define STRACE_MSGHDR_H
 
/* For definitions of struct msghdr and struct mmsghdr. */
# include <sys/socket.h>
 
# ifndef HAVE_STRUCT_MMSGHDR
struct mmsghdr {
   struct msghdr msg_hdr;
   unsigned msg_len;
};
# endif
 
struct tcb;
 
extern void
print_struct_msghdr(struct tcb *, const struct msghdr *,
           const int *p_user_msg_namelen, kernel_ulong_t data_size);
 
#endif /* !STRACE_MSGHDR_H */