summaryrefslogtreecommitdiff
path: root/msghdr.h
blob: 9e458fec0b37e35b0c06deb3194cd059c56d31ce (plain)
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 */